diff options
author | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-06-15 18:40:14 +0000 |
---|---|---|
committer | Gábor Hojtsy <gabor@hojtsy.hu> | 2007-06-15 18:40:14 +0000 |
commit | 85805096f7f9fbbed60438af7c3d0c1d9ec3959d (patch) | |
tree | a7e74479cbbf7a93acceb0ad02c8452449d93c02 /modules/system/system.install | |
parent | ae0392b2eb956263c35fb04b695f4974dcca2787 (diff) | |
download | brdo-85805096f7f9fbbed60438af7c3d0c1d9ec3959d.tar.gz brdo-85805096f7f9fbbed60438af7c3d0c1d9ec3959d.tar.bz2 |
#142280 by Jose A Reyero, yched and myself: Content translation support built on the existing node language feature
Diffstat (limited to 'modules/system/system.install')
-rw-r--r-- | modules/system/system.install | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/system/system.install b/modules/system/system.install index edc864cbb..21a523329 100644 --- a/modules/system/system.install +++ b/modules/system/system.install @@ -3350,6 +3350,18 @@ function system_update_6023() { } /** + * Add translation fields to nodes used by translation module. + */ +function system_update_6024() { + $ret = array(); + db_add_field($ret, 'node', 'tnid', array('type' => 'int', 'unsigned' => TRUE, 'not null' => TRUE, 'default' => 0)); + db_add_field($ret, 'node', 'translate', array('type' => 'int', 'not null' => TRUE, 'default' => 0)); + db_add_index($ret, 'node', 'tnid', array('tnid')); + db_add_index($ret, 'node', 'translate', array('translate')); + return $ret; +} + +/** * @} End of "defgroup updates-5.x-to-6.x" * The next series of updates should start at 7000. */ |