function rules_scheduler_update_7205

Use blob:big for rules_scheduler.data for compatibility with PostgreSQL.

File

rules_scheduler/rules_scheduler.install, line 179

Code

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