You are here

function spaces_ui_update_1 in Spaces 5.2

File

./spaces_ui.install, line 26

Code

function spaces_ui_update_1() {
  $update = array();
  $update[] = update_sql("ALTER TABLE {spaces_features_ui} DROP COLUMN label");
  $update[] = update_sql("ALTER TABLE {spaces_features_ui} DROP COLUMN description");
  $update[] = update_sql("ALTER TABLE {spaces_features_ui} ADD COLUMN value longtext NOT NULL default '' AFTER feature");
  return $update;
}