You are here

function countries_update_7101 in Countries 8

Same name and namespace in other branches
  1. 7.2 countries.install \countries_update_7101()

This adds a translatable country possibility.

File

./countries.install, line 197
Install file for Countries module.

Code

function countries_update_7101() {
  db_add_field('countries_country', 'language', array(
    'description' => 'The {languages}.language of this node.',
    'type' => 'varchar',
    'length' => 12,
    'not null' => TRUE,
    'default' => LANGUAGE_NONE,
  ));
}