summaryrefslogtreecommitdiff
path: root/modules/locale/locale.schema
diff options
context:
space:
mode:
Diffstat (limited to 'modules/locale/locale.schema')
-rw-r--r--modules/locale/locale.schema21
1 files changed, 11 insertions, 10 deletions
diff --git a/modules/locale/locale.schema b/modules/locale/locale.schema
index f949c7878..6973aeead 100644
--- a/modules/locale/locale.schema
+++ b/modules/locale/locale.schema
@@ -4,16 +4,17 @@
function locale_schema() {
$schema['languages'] = array(
'fields' => array(
- 'language' => array('type' => 'varchar', 'length' => 12, 'not null' => TRUE, 'default' => ''),
- 'name' => array('type' => 'varchar', 'length' => 64, 'not null' => TRUE, 'default' => ''),
- 'native' => array('type' => 'varchar', 'length' => 64, 'not null' => TRUE, 'default' => ''),
- 'direction' => array('type' => 'int', 'not null' => TRUE, 'default' => 0),
- 'enabled' => array('type' => 'int', 'not null' => TRUE, 'default' => 0),
- 'plurals' => array('type' => 'int', 'not null' => TRUE, 'default' => 0),
- 'formula' => array('type' => 'varchar', 'length' => 128, 'not null' => TRUE, 'default' => ''),
- 'domain' => array('type' => 'varchar', 'length' => 128, 'not null' => TRUE, 'default' => ''),
- 'prefix' => array('type' => 'varchar', 'length' => 128, 'not null' => TRUE, 'default' => ''),
- 'weight' => array('type' => 'int', 'not null' => TRUE, 'default' => 0)
+ 'language' => array('type' => 'varchar', 'length' => 12, 'not null' => TRUE, 'default' => ''),
+ 'name' => array('type' => 'varchar', 'length' => 64, 'not null' => TRUE, 'default' => ''),
+ 'native' => array('type' => 'varchar', 'length' => 64, 'not null' => TRUE, 'default' => ''),
+ 'direction' => array('type' => 'int', 'not null' => TRUE, 'default' => 0),
+ 'enabled' => array('type' => 'int', 'not null' => TRUE, 'default' => 0),
+ 'plurals' => array('type' => 'int', 'not null' => TRUE, 'default' => 0),
+ 'formula' => array('type' => 'varchar', 'length' => 128, 'not null' => TRUE, 'default' => ''),
+ 'domain' => array('type' => 'varchar', 'length' => 128, 'not null' => TRUE, 'default' => ''),
+ 'prefix' => array('type' => 'varchar', 'length' => 128, 'not null' => TRUE, 'default' => ''),
+ 'weight' => array('type' => 'int', 'not null' => TRUE, 'default' => 0),
+ 'javascript' => array('type' => 'varchar', 'length' => 32, 'not null' => TRUE, 'default' => ''),
),
'primary key' => array('language'),
);