You are here

function mee_update_6002 in Scald: Media Management made easy 6

Include the 'field' field in the primary key.

File

mee/mee.install, line 48
Implementation of hook_install().

Code

function mee_update_6002() {
  $ret = array();
  $ret[] = update_sql("ALTER TABLE {mee_ressources} DROP PRIMARY KEY, ADD PRIMARY KEY(content_nid, atom_sid, field)");
  return $ret;
}