You are here

function footable_update_7202 in FooTable 7.2

Remove unneeded columns.

File

./footable.install, line 192
Install, update, and uninstall functions for the FooTable module.

Code

function footable_update_7202() {
  if (db_field_exists('footable_breakpoint', 'status')) {
    db_drop_field('footable_breakpoint', 'status');
  }
  if (db_field_exists('footable_breakpoint', 'weight')) {
    db_drop_field('footable_breakpoint', 'weight');
  }
}