summaryrefslogtreecommitdiff
path: root/util/updates
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2011-01-02 10:14:14 +0100
committerYorhel <git@yorhel.nl>2011-01-02 10:14:14 +0100
commit33a8b46e8a402fe0a6cc80786b0bdab9fb5d513e (patch)
tree98476981c3cde3f8a98072ce10469024ced9ca31 /util/updates
parentb932e475e9ed2b0b1e89a5954fc1872a131890e0 (diff)
Bugfix: allow a VN to be available for more than 7 platforms
This constraint was caused by the character length limit on vn.c_platforms. Trying to add or edit a release in such a way that a platform would be added to c_platforms would result in a 500.
Diffstat (limited to 'util/updates')
-rw-r--r--util/updates/update_2.16.sql3
1 files changed, 3 insertions, 0 deletions
diff --git a/util/updates/update_2.16.sql b/util/updates/update_2.16.sql
index 12f28121..2d354f03 100644
--- a/util/updates/update_2.16.sql
+++ b/util/updates/update_2.16.sql
@@ -81,3 +81,6 @@ ALTER TABLE users DROP COLUMN notify_dbedit;
ALTER TABLE users DROP COLUMN notify_announce;
+-- remove size constraint on vn.c_platforms
+ALTER TABLE vn ALTER COLUMN c_platforms TYPE varchar;
+