diff options
author | Yorhel <git@yorhel.nl> | 2018-08-12 12:22:21 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2018-08-12 12:22:39 +0200 |
commit | 7ca7bb13c3bd79a82b73bdd631399e25fdf6fe81 (patch) | |
tree | 2f6801121670b6c4715f0e009cd28b1cb7940fb1 | |
parent | 900014f99dcfcdd84247070fa6f09bb0b7d855e0 (diff) |
Add 1600x900 resolution
https://vndb.org/t950.481
Also, the resolution should really be stored as an ENUM in the database,
this integer thing is waay too fragile.
-rw-r--r-- | data/global.pl | 1 | ||||
-rw-r--r-- | util/updates/update_20180812.sql | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/data/global.pl b/data/global.pl index ddebe436..7624be77 100644 --- a/data/global.pl +++ b/data/global.pl @@ -213,6 +213,7 @@ our %S; [ '1280x720', 'widescreen' ], [ '1280x800', 'widescreen' ], [ '1366x768', 'widescreen' ], + [ '1600x900', 'widescreen' ], [ '1920x1080', 'widescreen' ], ], tag_categories => ordhash( diff --git a/util/updates/update_20180812.sql b/util/updates/update_20180812.sql new file mode 100644 index 00000000..2e5bbe2c --- /dev/null +++ b/util/updates/update_20180812.sql @@ -0,0 +1,3 @@ +-- New resolution before 1920x1080 +UPDATE releases SET resolution = 16 WHERE resolution = 15; +UPDATE releases_hist SET resolution = 16 WHERE resolution = 15; |