You are here

function deploy_uuid_update_6003 in Deploy - Content Staging 6

File

modules/deploy_uuid/deploy_uuid.install, line 233

Code

function deploy_uuid_update_6003() {
  $ret = array();
  $ret[] = update_sql("ALTER TABLE {comments_uuid} ADD UNIQUE (uuid)");
  $ret[] = update_sql("ALTER TABLE {files_uuid} ADD UNIQUE (uuid)");
  $ret[] = update_sql("ALTER TABLE {node_uuid} ADD UNIQUE (uuid)");
  $ret[] = update_sql("ALTER TABLE {role_uuid} ADD UNIQUE (uuid)");
  $ret[] = update_sql("ALTER TABLE {term_data_uuid} ADD UNIQUE (uuid)");
  $ret[] = update_sql("ALTER TABLE {users_uuid} ADD UNIQUE (uuid)");
  $ret[] = update_sql("ALTER TABLE {vocabulary_uuid} ADD UNIQUE (uuid)");
  $ret[] = update_sql("ALTER TABLE {comments_uuid} ADD KEY (cid)");
  $ret[] = update_sql("ALTER TABLE {files_uuid} ADD KEY (fid)");
  $ret[] = update_sql("ALTER TABLE {node_uuid} ADD KEY (nid)");
  $ret[] = update_sql("ALTER TABLE {role_uuid} ADD KEY (rid)");
  $ret[] = update_sql("ALTER TABLE {term_data_uuid} ADD KEY (tid)");
  $ret[] = update_sql("ALTER TABLE {users_uuid} ADD KEY (uid)");
  $ret[] = update_sql("ALTER TABLE {vocabulary_uuid} ADD KEY (vid)");
  return $ret;
}