You are here

function gotwo_update_6101 in Go - url redirects 7

Same name and namespace in other branches
  1. 6 gotwo.install \gotwo_update_6101()

Change 'gid' column to auto increment.

File

./gotwo.install, line 90
Installation script for the gotwo.module

Code

function gotwo_update_6101() {
  db_change_field('gotwo', 'gid', 'gid', array(
    'type' => 'serial',
    'not null' => TRUE,
  ));
  return t('GID database column has been altered to auto increment.');
}