system_update_139
- Versions
- 4.7 – 5
system_update_139()
Code
database/updates.inc, line 587
<?php
function system_update_139() {
$ret = array();
switch ($GLOBALS['db_type']) {
case 'pgsql':
db_add_column($ret, 'accesslog', 'timer', 'int', array('not null' => TRUE, 'default' => 0));
break;
case 'mysql':
case 'mysqli':
$ret[] = update_sql("ALTER TABLE {accesslog} ADD timer int(10) unsigned NOT NULL default '0'");
break;
}
return $ret;
}
?>Login or register to post comments 