function mee_update_6001 in Scald: Media Management made easy 6
Add separate column for the required status
File
- mee/
mee.install, line 34 - Implementation of hook_install().
Code
function mee_update_6001() {
$ret = array();
switch ($GLOBALS['db_type']) {
case 'mysql':
case 'mysqli':
$ret[] = update_sql("ALTER TABLE {mee_ressources} ADD required INT NOT NULL DEFAULT 0");
break;
}
return $ret;
}