diff options
author | Yorhel <git@yorhel.nl> | 2016-02-15 20:11:42 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2016-02-15 20:11:42 +0100 |
commit | 2f972d5683dadfcfae4094cc176d59dfc9b96639 (patch) | |
tree | b910a0c79ac6e2ba57822dcda0dc841c921e4205 /util | |
parent | d33929c047478ec10bf96bfa9b7e33fc0439f429 (diff) |
Add Tagalog language
Diffstat (limited to 'util')
-rw-r--r-- | util/sql/all.sql | 2 | ||||
-rw-r--r-- | util/updates/update_2.26.sql | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/util/sql/all.sql b/util/sql/all.sql index b2b4fabc..172217ca 100644 --- a/util/sql/all.sql +++ b/util/sql/all.sql @@ -11,7 +11,7 @@ CREATE TYPE credit_type AS ENUM ('scenario', 'chardesign', 'art', 'music', CREATE TYPE dbentry_type AS ENUM ('v', 'r', 'p', 'c', 's'); CREATE TYPE edit_rettype AS (itemid integer, chid integer, rev integer); CREATE TYPE gender AS ENUM ('unknown', 'm', 'f', 'b'); -CREATE TYPE language AS ENUM ('ar', 'ca', 'cs', 'da', 'de', 'en', 'es', 'fi', 'fr', 'he', 'hu', 'id', 'it', 'ja', 'ko', 'nl', 'no', 'pl', 'pt-pt', 'pt-br', 'ro', 'ru', 'sk', 'sv', 'tr', 'uk', 'vi', 'zh'); +CREATE TYPE language AS ENUM ('ar', 'ca', 'cs', 'da', 'de', 'en', 'es', 'fi', 'fr', 'he', 'hu', 'id', 'it', 'ja', 'ko', 'nl', 'no', 'pl', 'pt-pt', 'pt-br', 'ro', 'ru', 'sk', 'sv', 'ta', 'tr', 'uk', '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', 'c', 't', 's'); diff --git a/util/updates/update_2.26.sql b/util/updates/update_2.26.sql index 691fdca7..444666f8 100644 --- a/util/updates/update_2.26.sql +++ b/util/updates/update_2.26.sql @@ -29,3 +29,7 @@ ALTER TABLE threads_poll_options ADD CONSTRAINT threads_poll_options_tid_fke ALTER TABLE threads_poll_votes ADD CONSTRAINT threads_poll_votes_tid_fkey FOREIGN KEY (tid) REFERENCES threads (id) ON DELETE CASCADE; ALTER TABLE threads_poll_votes ADD CONSTRAINT threads_poll_votes_uid_fkey FOREIGN KEY (uid) REFERENCES users (id) ON DELETE CASCADE; ALTER TABLE threads_poll_votes ADD CONSTRAINT threads_poll_votes_optid_fkey FOREIGN KEY (optid) REFERENCES threads_poll_options (id) ON DELETE CASCADE; + + +-- Tagalog language +ALTER TYPE language ADD VALUE 'ta' BEFORE 'tr'; |