diff options
author | Yorhel <git@yorhel.nl> | 2009-07-19 14:44:11 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2009-07-19 14:44:11 +0200 |
commit | 09869c785d57b20b2ff4346a53476a8f8efac6da (patch) | |
tree | 4c75b9212fc61d206bfdaf47a6544feadc5b26ea /util/updates | |
parent | f5e5f2ce1fd955793420fd62d663d54983e7facc (diff) |
Added 1024x600 and 1600x1200 screen resolutions
Diffstat (limited to 'util/updates')
-rw-r--r-- | util/updates/update_2.6.sql | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/util/updates/update_2.6.sql b/util/updates/update_2.6.sql index 723e7c57..e8f4e9b4 100644 --- a/util/updates/update_2.6.sql +++ b/util/updates/update_2.6.sql @@ -43,6 +43,12 @@ ALTER TABLE screenshots ALTER COLUMN processed SET DEFAULT FALSE; +-- two new resolutions have been added, array indexes have changed +UPDATE releases_rev SET resolution = resolution + 1 WHERE resolution >= 5; +UPDATE releases_rev SET resolution = resolution + 1 WHERE resolution >= 7; + + + -- automatically insert rows into the anime table for unknown aids -- when inserted into vn_anime CREATE OR REPLACE FUNCTION vn_anime_aid() RETURNS trigger AS $$ @@ -70,7 +76,6 @@ $$ LANGUAGE plpgsql; CREATE TRIGGER anime_fetch_notify AFTER INSERT OR UPDATE ON anime FOR EACH ROW EXECUTE PROCEDURE anime_fetch_notify(); - -- Send a notify when a new cover image is uploaded CREATE OR REPLACE FUNCTION vn_rev_image_notify() RETURNS trigger AS $$ BEGIN |