function backup_migrate_update_7301 in Backup and Migrate 7.3
Same name and namespace in other branches
- 8.3 backup_migrate.install \backup_migrate_update_7301()
Switch the cron switch to text.
File
- ./
backup_migrate.install, line 774 - Install hooks for Backup and Migrate.
Code
function backup_migrate_update_7301() {
db_change_field('backup_migrate_schedules', 'cron', 'cron', array(
'type' => 'varchar',
'length' => 32,
'not null' => TRUE,
'default' => 'builtin',
));
db_add_field('backup_migrate_schedules', 'cron_schedule', array(
'description' => 'The cron schedule to run on.',
'type' => 'varchar',
'length' => 255,
'default' => '0 4 * * *',
'not null' => TRUE,
));
}