You are here

function system_update_7080 in Drupal 7

Convert the 'format' column in {date_format_locale} to case sensitive varchar.

Related topics

File

modules/system/system.install, line 3293
Install, update and uninstall functions for the system module.

Code

function system_update_7080() {
  $spec = array(
    'description' => 'The date format string.',
    'type' => 'varchar',
    'length' => 100,
    'not null' => TRUE,
    'binary' => TRUE,
  );
  db_change_field('date_format_locale', 'format', 'format', $spec);
}