function system_update_7080

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

Related topics

File

modules/system/system.install, line 3312

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);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.