function feedback_update_6100 in Feedback 6.2
Same name and namespace in other branches
- 7.2 feedback.install \feedback_update_6100()
Change fid into type serial field.
File
- ./
feedback.install, line 65
Code
function feedback_update_6100() {
$ret = array();
db_drop_primary_key($ret, 'feedback');
db_change_field($ret, 'feedback', 'fid', 'fid', array(
'type' => 'serial',
'unsigned' => TRUE,
'not null' => TRUE,
), array(
'primary key' => array(
'fid',
),
));
return $ret;
}