summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2017-04-21 17:45:37 +0200
committerYorhel <git@yorhel.nl>2017-04-21 17:45:41 +0200
commit83b88495464faa4b89e09b19e81e56902b24a45c (patch)
tree206b8f9c7104ea9e550157b28bbdcb36150f49ef
parent60632209207f5b149b7b65136d061dd9ac2f52b7 (diff)
Add 1366x768 resolution
https://vndb.org/t950.317
-rw-r--r--data/global.pl1
-rw-r--r--util/updates/update_2.27.sql3
2 files changed, 4 insertions, 0 deletions
diff --git a/data/global.pl b/data/global.pl
index 0ca96d07..b4805e64 100644
--- a/data/global.pl
+++ b/data/global.pl
@@ -209,6 +209,7 @@ our %S;
[ '1024x640', 'widescreen' ],
[ '1280x720', 'widescreen' ],
[ '1280x800', 'widescreen' ],
+ [ '1366x768', 'widescreen' ],
[ '1920x1080', 'widescreen' ],
],
tag_categories => ordhash(
diff --git a/util/updates/update_2.27.sql b/util/updates/update_2.27.sql
new file mode 100644
index 00000000..773b9716
--- /dev/null
+++ b/util/updates/update_2.27.sql
@@ -0,0 +1,3 @@
+-- Added 1366x768 resolution
+UPDATE releases SET resolution = 15 WHERE resolution = 14 AND NOT EXISTS(SELECT 1 FROM releases WHERE resolution = 15);
+UPDATE releases_hist SET resolution = 15 WHERE resolution = 14 AND NOT EXISTS(SELECT 1 FROM releases_hist WHERE resolution = 15);