fixing slight bug... (assetId)

This commit is contained in:
Matthew Wilson 2005-02-14 16:11:40 +00:00
parent 79e7dbe774
commit 21362f993c

View file

@ -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");