You are here

function weight_update_7208 in Weight 7.2

Remove unused id column from weight_settings and add primary key to type.

File

./weight.install, line 399

Code

function weight_update_7208() {
  db_drop_field('weight_settings', 'id');
  db_add_primary_key('weight_settings', array(
    'type',
  ));
}