aboutsummaryrefslogtreecommitdiffstats
path: root/db/schema_0052-translation-table.sql
diff options
context:
space:
mode:
Diffstat (limited to 'db/schema_0052-translation-table.sql')
-rw-r--r--db/schema_0052-translation-table.sql13
1 files changed, 13 insertions, 0 deletions
diff --git a/db/schema_0052-translation-table.sql b/db/schema_0052-translation-table.sql
new file mode 100644
index 000000000..95df499cc
--- /dev/null
+++ b/db/schema_0052-translation-table.sql
@@ -0,0 +1,13 @@
+BEGIN;
+
+CREATE TABLE translation (
+ id serial not null primary key,
+ tbl text not null,
+ object_id integer not null,
+ col text not null,
+ lang text not null,
+ msgstr text not null,
+ unique(tbl, object_id, col, lang)
+);
+
+COMMIT;