function filter_update_7010
Change {filter_format}.format and {filter}.format into varchar.
Related topics
File
-
modules/
filter/ filter.install, line 477
Code
function filter_update_7010() {
db_change_field('filter_format', 'format', 'format', array(
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
'description' => 'Primary Key: Unique machine name of the format.',
));
db_change_field('filter', 'format', 'format', array(
'type' => 'varchar',
'length' => 255,
'not null' => TRUE,
'description' => 'Foreign key: The {filter_format}.format to which this filter is assigned.',
));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.