summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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);