You are here

function locale_update_7005 in Drupal 7

Increase {locales_languages}.formula column's length.

Related topics

File

modules/locale/locale.install, line 207
Install, update and uninstall functions for the locale module.

Code

function locale_update_7005() {
  db_change_field('languages', 'formula', 'formula', array(
    'type' => 'varchar',
    'length' => 255,
    'not null' => TRUE,
    'default' => '',
    'description' => 'Plural formula in PHP code to evaluate to get plural indexes.',
  ));
}