function system_update_7078
7.x system.install | system_update_7078() |
Add binary to {date_formats}.format.
Related topics
File
- drupal-7.x/
modules/ system/ system.install, line 3127 - Install, update and uninstall functions for the system module.
Code
function system_update_7078() {
db_drop_unique_key('date_formats', 'formats');
db_change_field('date_formats', 'format', 'format', array(
'description' => 'The date format string.',
'type' => 'varchar',
'length' => 100,
'not null' => TRUE,
'binary' => TRUE,
), array('unique keys' => array('formats' => array('format', 'type'))));
}