function prod_check_update_7103 in Production check & Production monitor 7
Update sitekey field in database to allow longer D7 values.
File
- prod_monitor/
prod_monitor.install, line 259
Code
function prod_check_update_7103() {
// Note http://drupal.org/node/150220 about not using hook_schema() here!
db_change_field('prod_monitor_site_modules', 'sitekey', 'sitekey', array(
'description' => 'The unique key for the site.',
'type' => 'varchar',
'length' => 128,
'not null' => TRUE,
'default' => '',
));
}