You are here

function support_pm_update_7000 in Support Ticketing System 7

Remove {support_plan}.pid, it's useless and gets in the way of doing merge queries.

File

support_pm/support_pm.install, line 231

Code

function support_pm_update_7000() {
  db_drop_index('support_plan', 'uid_clid_day');

  //  db_drop_primary_key('support_plan');
  db_drop_field('support_plan', 'pid');
  db_add_primary_key('support_plan', array(
    'uid',
    'clid',
    'day',
  ));
}