function rules_scheduler_update_7204

Rename rules_scheduler.state into rules_scheduler.data.

File

rules_scheduler/rules_scheduler.install, line 165

Code

function rules_scheduler_update_7204() {
    if (db_field_exists('rules_scheduler', 'state')) {
        db_change_field('rules_scheduler', 'state', 'data', array(
            'type' => 'text',
            'not null' => FALSE,
            'serialize' => TRUE,
            'description' => 'The whole, serialized evaluation data.',
        ));
    }
}