You are here

function gotwo_update_6101 in Go - url redirects 6

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

Change 'gid' column to auto increment.

File

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

Code

function gotwo_update_6101() {
  $ret = array();
  db_change_field($ret, 'gotwo', 'gid', 'gid', array(
    'type' => 'serial',
    'not null' => TRUE,
  ));
  return $ret;
}