[Rt-commit] r2038 - in rt/branches/3.4-RELEASE: . etc/upgrade/3.3.0
jesse at bestpractical.com
jesse at bestpractical.com
Tue Jan 4 00:17:42 EST 2005
Author: jesse
Date: Tue Jan 4 00:17:42 2005
New Revision: 2038
Modified:
rt/branches/3.4-RELEASE/ (props changed)
rt/branches/3.4-RELEASE/etc/upgrade/3.3.0/schema.mysql
Log:
r2527 at hualien: jesse | 2005-01-03T19:52:28.164258Z
Updated mysql schema upgrades to cope with ancient RT 3 instances which didn't have indexes we expect
Modified: rt/branches/3.4-RELEASE/etc/upgrade/3.3.0/schema.mysql
==============================================================================
--- rt/branches/3.4-RELEASE/etc/upgrade/3.3.0/schema.mysql (original)
+++ rt/branches/3.4-RELEASE/etc/upgrade/3.3.0/schema.mysql Tue Jan 4 00:17:42 2005
@@ -54,7 +54,8 @@
alter table CustomFields add column Repeated int2 NOT NULL DEFAULT 0 ;
alter table CustomFields add column Pattern varchar(255) NULL;
alter table CustomFields add column MaxValues integer;
-alter table CustomFields drop index CustomFields1;
+# See above
+# alter table CustomFields drop index CustomFields1;
UPDATE CustomFields SET MaxValues = 0 WHERE Type LIKE '%Multiple';
UPDATE CustomFields SET MaxValues = 1 WHERE Type LIKE '%Single';
More information about the Rt-commit
mailing list