From 85805096f7f9fbbed60438af7c3d0c1d9ec3959d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A1bor=20Hojtsy?= Date: Fri, 15 Jun 2007 18:40:14 +0000 Subject: #142280 by Jose A Reyero, yched and myself: Content translation support built on the existing node language feature --- modules/system/system.install | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'modules/system') 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 @@ -3349,6 +3349,18 @@ function system_update_6023() { return $ret; } +/** + * 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. -- cgit v1.2.3