function rules_update_7203 in Rules 7.2
Fix the length of the rules_config.name column.
File
- ./
rules.install, line 353 - Rules - Installation file.
Code
function rules_update_7203() {
db_drop_unique_key('rules_config', 'name');
$keys = array(
'unique keys' => array(
'name' => array(
'name',
),
),
);
db_change_field('rules_config', 'name', 'name', array(
'type' => 'varchar',
'length' => '64',
'not null' => TRUE,
'description' => 'The name of the configuration.',
), $keys);
}