diff options
author | Yorhel <git@yorhel.nl> | 2013-09-16 13:11:00 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2013-09-16 13:11:00 +0200 |
commit | 0f550f43a20a01178fa06a0723aaf21e73651f86 (patch) | |
tree | 428e38e6ce21563b2c7560372f2d460d28cc3d51 /util | |
parent | 269f53479dcea7c9cdfeeb407fe0a6f81f1205c3 (diff) |
Added 960x600 resolution
Diffstat (limited to 'util')
-rw-r--r-- | util/updates/update_2.23.sql | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/util/updates/update_2.23.sql b/util/updates/update_2.23.sql index 80855d1a..5de7ff9c 100644 --- a/util/updates/update_2.23.sql +++ b/util/updates/update_2.23.sql @@ -5,7 +5,7 @@ CREATE INDEX tags_vn_vid ON tags_vn (vid); --- Extra language for ukrainian and indonesian +-- Extra language for Arabic, Hebrew, Ukrainian and Indonesian ALTER TYPE language RENAME TO language_old; 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'); @@ -66,3 +66,7 @@ DROP TRIGGER screenshot_process_notify ON screenshots; DROP FUNCTION screenshot_process_notify(); ALTER TABLE screenshots DROP COLUMN processed; + + +-- New resolution has been added at index 8 +UPDATE releases_rev SET resolution = resolution + 1 WHERE resolution >= 8 AND NOT EXISTS(SELECT 1 FROM releases_rev WHERE resolution >= 14); |