function ad_channel_update_6005 in Advertisement 7
Same name and namespace in other branches
- 6.3 channel/ad_channel.install \ad_channel_update_6005()
- 6.2 channel/ad_channel.install \ad_channel_update_6005()
File
- channel/
ad_channel.install, line 243
Code
function ad_channel_update_6005() {
$ret = array();
$ret[] = update_sql("ALTER TABLE {ad_channel} ADD inventory INT(11)");
$ret[] = update_sql("CREATE TABLE {ad_channel_remnant} (aid INT(11) UNSIGNED NOT NULL DEFAULT '0', remnant TINYINT UNSIGNED NOT NULL DEFAULT '0', PRIMARY KEY (aid, remnant))");
return $ret;
}