aboutsummaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorVincent-Michael <Vincent_Michael@gmx.de>2015-04-11 05:24:06 +0200
committerVincent-Michael <Vincent_Michael@gmx.de>2015-04-11 05:24:06 +0200
commitcb2bb1c1eeaed549327e862ef9568b06463adee2 (patch)
treed5b3b059dc753ef89f2dc0e8bb8dd8d7ab81bfd4 /sql
parentd6311a790bfd2aac811da5cea2bb441e1afafab2 (diff)
Core/Misc: Update page text locale to simple system
Diffstat (limited to 'sql')
-rw-r--r--sql/updates/world/2015_04_11_03_world.sql12
1 files changed, 12 insertions, 0 deletions
diff --git a/sql/updates/world/2015_04_11_03_world.sql b/sql/updates/world/2015_04_11_03_world.sql
new file mode 100644
index 00000000000..4dc3cce9542
--- /dev/null
+++ b/sql/updates/world/2015_04_11_03_world.sql
@@ -0,0 +1,12 @@
+DROP TABLE IF EXISTS `locales_page_text`;
+
+DROP TABLE IF EXISTS `page_text_locale`;
+CREATE TABLE IF NOT EXISTS `page_text_locale` (
+ `ID` MEDIUMINT(8) UNSIGNED NOT NULL DEFAULT '0',
+ `locale` VARCHAR(4) NOT NULL,
+ `Text` TEXT,
+ `VerifiedBuild` SMALLINT(5) DEFAULT '0'
+) ENGINE=MYISAM DEFAULT CHARSET=utf8;
+
+ALTER TABLE `page_text_locale`
+ ADD PRIMARY KEY (`ID`,`locale`);