diff options
author | Sean Dague | 2008-07-18 15:13:19 +0000 |
---|---|---|
committer | Sean Dague | 2008-07-18 15:13:19 +0000 |
commit | d9ba7c8339955eccabf20d19e7b28e57491c2c28 (patch) | |
tree | a12d2f18b1237c76f6d9e67129a3f9151ee3e3a9 /OpenSim/Data/SQLite/Resources | |
parent | fix typo in create index that caused the entire migration to fail. (diff) | |
download | opensim-SC-d9ba7c8339955eccabf20d19e7b28e57491c2c28.zip opensim-SC-d9ba7c8339955eccabf20d19e7b28e57491c2c28.tar.gz opensim-SC-d9ba7c8339955eccabf20d19e7b28e57491c2c28.tar.bz2 opensim-SC-d9ba7c8339955eccabf20d19e7b28e57491c2c28.tar.xz |
put the entire thing inside a transaction. This probably doesn't
help much, but it might.
Diffstat (limited to 'OpenSim/Data/SQLite/Resources')
-rw-r--r-- | OpenSim/Data/SQLite/Resources/006_RegionStore.sql | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Data/SQLite/Resources/006_RegionStore.sql b/OpenSim/Data/SQLite/Resources/006_RegionStore.sql index 8449fbb..60b348a 100644 --- a/OpenSim/Data/SQLite/Resources/006_RegionStore.sql +++ b/OpenSim/Data/SQLite/Resources/006_RegionStore.sql | |||
@@ -1,3 +1,5 @@ | |||
1 | BEGIN TRANSACTION; | ||
2 | |||
1 | drop table if exists `estate_groups`; | 3 | drop table if exists `estate_groups`; |
2 | CREATE TABLE `estate_groups` ( | 4 | CREATE TABLE `estate_groups` ( |
3 | `EstateID` int(10) NOT NULL, | 5 | `EstateID` int(10) NOT NULL, |
@@ -101,3 +103,5 @@ CREATE INDEX `estate_managers_estate_id` on `estate_managers`(`EstateID`); | |||
101 | CREATE INDEX `estate_map_estate_id` on `estate_map`(`EstateID`); | 103 | CREATE INDEX `estate_map_estate_id` on `estate_map`(`EstateID`); |
102 | CREATE UNIQUE INDEX `estate_map_region_id` on `estate_map`(`RegionID`); | 104 | CREATE UNIQUE INDEX `estate_map_region_id` on `estate_map`(`RegionID`); |
103 | CREATE INDEX `estate_users_estate_id` on `estate_users`(`EstateID`); | 105 | CREATE INDEX `estate_users_estate_id` on `estate_users`(`EstateID`); |
106 | |||
107 | COMMIT; \ No newline at end of file | ||