function ajaxblocks_update_6102 in Ajax Blocks 6
Add fields.
File
- ./
ajaxblocks.install, line 112 - Install, update and uninstall functions for the ajaxblocks module.
Code
function ajaxblocks_update_6102() {
$ret = array();
db_add_field($ret, 'ajaxblocks', 'is_late', array(
'type' => 'int',
'not null' => TRUE,
'default' => 0,
));
db_add_field($ret, 'ajaxblocks', 'delay', array(
'type' => 'int',
'not null' => TRUE,
'default' => 0,
));
db_add_field($ret, 'ajaxblocks', 'include_noscript', array(
'type' => 'int',
'not null' => TRUE,
'default' => 1,
));
db_add_field($ret, 'ajaxblocks', 'cached_roles', array(
'type' => 'varchar',
'length' => 1000,
'default' => '1',
));
db_add_field($ret, 'ajaxblocks', 'uncached_roles', array(
'type' => 'varchar',
'length' => 1000,
'default' => '',
));
return $ret;
}