diff options
author | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-08-10 12:34:16 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2017-08-10 12:34:16 +0100 |
commit | eda7a2d88e13a89e22843203cf4f749c8679b4d7 (patch) | |
tree | 682568bc6f46d262e5755268ac65238af4562b52 /db/schema_0052-translation-table.sql | |
parent | b862ad1300116978f98eae9a079a22d49fc4f85e (diff) | |
parent | df1494f5a9de03c80764adf6108cbf699f547459 (diff) |
Merge branch '1244-corps-translatable-body-names'
Diffstat (limited to 'db/schema_0052-translation-table.sql')
-rw-r--r-- | db/schema_0052-translation-table.sql | 13 |
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; |