summaryrefslogtreecommitdiff
path: root/util/updates
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2013-09-14 12:24:38 +0200
committerYorhel <git@yorhel.nl>2013-09-14 12:24:38 +0200
commit8f0154cc9bcc2ae0a18c94e16e4d73bdd4a591d7 (patch)
treea24b8851289c837f526b4f6a318aca39de89566d /util/updates
parent15393dd055c212418f2a4ecc2c1226a3f29d51d5 (diff)
Added Arabic and Hebrew languages
Diffstat (limited to 'util/updates')
-rw-r--r--util/updates/update_2.23.sql2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/updates/update_2.23.sql b/util/updates/update_2.23.sql
index f7aaf7f3..80855d1a 100644
--- a/util/updates/update_2.23.sql
+++ b/util/updates/update_2.23.sql
@@ -8,7 +8,7 @@ CREATE INDEX tags_vn_vid ON tags_vn (vid);
-- Extra language for ukrainian and indonesian
ALTER TYPE language RENAME TO language_old;
-CREATE TYPE language AS ENUM ('cs', 'da', 'de', 'en', 'es', 'fi', 'fr', 'hu', 'id', 'it', 'ja', 'ko', 'nl', 'no', 'pl', 'pt-pt', 'pt-br', 'ru', 'sk', 'sv', 'tr', 'uk', 'vi', 'zh');
+CREATE TYPE language AS ENUM ('ar', 'cs', 'da', 'de', 'en', 'es', 'fi', 'fr', 'he', 'hu', 'id', 'it', 'ja', 'ko', 'nl', 'no', 'pl', 'pt-pt', 'pt-br', 'ru', 'sk', 'sv', 'tr', 'uk', 'vi', 'zh');
ALTER TABLE producers_rev ALTER COLUMN lang DROP DEFAULT;
ALTER TABLE producers_rev ALTER COLUMN lang TYPE language USING lang::text::language;
ALTER TABLE producers_rev ALTER COLUMN lang SET DEFAULT 'ja';