put the entire thing inside a transaction. This probably doesn't

help much, but it might.
0.6.0-stable
Sean Dague 2008-07-18 15:13:19 +00:00
parent e2a3be254f
commit d9ba7c8339
1 changed files with 4 additions and 0 deletions

View File

@ -1,3 +1,5 @@
BEGIN TRANSACTION;
drop table if exists `estate_groups`; drop table if exists `estate_groups`;
CREATE TABLE `estate_groups` ( CREATE TABLE `estate_groups` (
`EstateID` int(10) NOT NULL, `EstateID` int(10) NOT NULL,
@ -101,3 +103,5 @@ CREATE INDEX `estate_managers_estate_id` on `estate_managers`(`EstateID`);
CREATE INDEX `estate_map_estate_id` on `estate_map`(`EstateID`); CREATE INDEX `estate_map_estate_id` on `estate_map`(`EstateID`);
CREATE UNIQUE INDEX `estate_map_region_id` on `estate_map`(`RegionID`); CREATE UNIQUE INDEX `estate_map_region_id` on `estate_map`(`RegionID`);
CREATE INDEX `estate_users_estate_id` on `estate_users`(`EstateID`); CREATE INDEX `estate_users_estate_id` on `estate_users`(`EstateID`);
COMMIT;