You are here

function video_update_11 in Video 5

Update database schema by removing custom fields - #419802 in the current setting conflict with the CCK

File

./video.install, line 283

Code

function video_update_11() {
  $res[] = update_sql('ALTER TABLE {video} DROP custom_field_1');
  $res[] = update_sql('ALTER TABLE {video} DROP custom_field_2');
  $res[] = update_sql('ALTER TABLE {video} DROP custom_field_3');
  $res[] = update_sql('ALTER TABLE {video} DROP custom_field_4');
  $res[] = update_sql('ALTER TABLE {video} DROP custom_field_5');
  $res[] = update_sql('ALTER TABLE {video} DROP custom_field_6');
  return $res;
}