path: root/util
diff options
authorYorhel <>2011-01-02 10:18:16 +0100
committerYorhel <>2011-01-02 10:18:16 +0100
commit7b971919a709a7e71eb270819f8b76fb33eebc29 (patch)
treec0f2d9062a09059866f04384ee3e8ce22b409412 /util
parent33a8b46e8a402fe0a6cc80786b0bdab9fb5d513e (diff)
SQL: Synchronised the language ENUM with the actual DB
I changed the ENUM in 2.11, and apparently forgot to update the local SQL files... I'm sure there are more such issues. >_>
Diffstat (limited to 'util')
1 files changed, 1 insertions, 1 deletions
diff --git a/util/sql/all.sql b/util/sql/all.sql
index 78104343..09a6d214 100644
--- a/util/sql/all.sql
+++ b/util/sql/all.sql
@@ -6,7 +6,7 @@
CREATE TYPE anime_type AS ENUM ('tv', 'ova', 'mov', 'oth', 'web', 'spe', 'mv');
CREATE TYPE dbentry_type AS ENUM ('v', 'r', 'p');
CREATE TYPE edit_rettype AS (iid integer, cid integer, rev integer);
-CREATE TYPE language AS ENUM('cs', 'da', 'de', 'en', 'es', 'fi', 'fr', 'hu', 'it', 'ja', 'ko', 'nl', 'no', 'pl', 'pt', 'ru', 'sk', 'sv', 'tr', 'vi', 'zh');
+CREATE TYPE language AS ENUM ('cs', 'da', 'de', 'en', 'es', 'fi', 'fr', 'hu', 'it', 'ja', 'ko', 'nl', 'no', 'pl', 'pt-pt', 'pt-br', 'ru', 'sk', 'sv', 'tr', 'vi', 'zh');
CREATE TYPE medium AS ENUM ('cd', 'dvd', 'gdr', 'blr', 'flp', 'mrt', 'mem', 'umd', 'nod', 'in', 'otc');
CREATE TYPE notification_ntype AS ENUM ('pm', 'dbdel', 'listdel', 'dbedit', 'announce');
CREATE TYPE notification_ltype AS ENUM ('v', 'r', 'p', 't');