sql/translations.sql
authorAlan Knowles <alan@roojs.com>
Fri, 3 Jun 2016 08:03:31 +0000 (16:03 +0800)
committerAlan Knowles <alan@roojs.com>
Fri, 3 Jun 2016 08:03:31 +0000 (16:03 +0800)
sql/translations.sql [new file with mode: 0644]

diff --git a/sql/translations.sql b/sql/translations.sql
new file mode 100644 (file)
index 0000000..5b46560
--- /dev/null
@@ -0,0 +1,17 @@
+
+CREATE TABLE  translations (
+  id int(11)  NOT NULL AUTO_INCREMENT,
+  PRIMARY KEY (id)
+);
+
+alter table  translations ADD COLUMN    module varchar(64)  NOT NULL DEFAULT '';
+alter table  translations ADD COLUMN    tfile varchar(128) NOT NULL DEFAULT '';
+alter table  translations ADD COLUMN    tlang varchar(8)  NOT NULL DEFAULT '';
+alter table  translations ADD COLUMN    tkey varchar(32)  NOT NULL DEFAULT '';
+alter table  translations ADD COLUMN    tval longtext ;
+
+
+ALTER TABLE translations ADD INDEX qlookup (module, tfile, tlang, tkey);
+
+
+