aboutsummaryrefslogtreecommitdiffstats
path: root/install/upgrade_1.5.0.php
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2006-05-15 21:43:20 +0000
committerplegall <plg@piwigo.org>2006-05-15 21:43:20 +0000
commit49682c913aec3855e576841dbfe18cba5ee2acfc (patch)
tree1fd8dae05c1fd9361a3156cc8faac64c87aa6d48 /install/upgrade_1.5.0.php
parent2b4be7da20d5c022768e721352fa211e66a2c1f6 (diff)
bug 365 fixed: categories.rank was limited to 255 due to storage
limitation. Maximum is 65535 now (should be good for a long time). git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1311 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'install/upgrade_1.5.0.php')
-rw-r--r--install/upgrade_1.5.0.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/install/upgrade_1.5.0.php b/install/upgrade_1.5.0.php
index 711625183..036472449 100644
--- a/install/upgrade_1.5.0.php
+++ b/install/upgrade_1.5.0.php
@@ -300,7 +300,10 @@ ALTER TABLE ".PREFIX_TABLE."user_infos
ALTER TABLE ".PREFIX_TABLE."user_infos
ADD COLUMN enabled_high enum('true','false') NOT NULL default 'true'
;",
-
+ "
+ALTER TABLE ".PREFIX_TABLE."categories
+ CHANGE COLUMN rank rank SMALLINT(5) UNSIGNED DEFAULT NULL
+;",
// configuration table
"
UPDATE ".PREFIX_TABLE."config