From 21362f993c3bedc2014d5c9ac48747578e67bfa9 Mon Sep 17 00:00:00 2001 From: Matthew Wilson Date: Mon, 14 Feb 2005 16:11:40 +0000 Subject: [PATCH] fixing slight bug... (assetId) --- docs/upgrades/upgrade_6.2.11-6.3.0.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/upgrades/upgrade_6.2.11-6.3.0.pl b/docs/upgrades/upgrade_6.2.11-6.3.0.pl index cee32065e..50d7439b7 100644 --- a/docs/upgrades/upgrade_6.2.11-6.3.0.pl +++ b/docs/upgrades/upgrade_6.2.11-6.3.0.pl @@ -234,7 +234,7 @@ WebGUI::SQL->write("alter table Product_specification drop column wobjectId"); WebGUI::SQL->write("alter table Product_related drop column RelatedWobjectId"); WebGUI::SQL->write("alter table Product_accessory drop column AccessoryWobjectId"); # I sure hope all the events got a unique assetId, because if they didn't....... -WebGUI::SQL->write("alter table EventsCalendar_event add primary key assetId"); +WebGUI::SQL->write("alter table EventsCalendar_event add primary key (assetId)"); WebGUI::SQL->write("alter table EventsCalendar_event drop column name"); WebGUI::SQL->write("alter table EventsCalendar_event drop column wobjectId");