function weight_update_7212 in Weight 7.2
Remove unused id column from {weight_settings}.
File
- ./
weight.install, line 504
Code
function weight_update_7212() {
if (db_field_exists('weight_settings', 'id')) {
db_add_primary_key('weight_settings');
db_drop_field('weight_settings', 'id');
db_add_primary_key('weight_settings', array(
'type',
));
}
}