diff options
author | Sean Dague | 2009-02-17 19:06:23 +0000 |
---|---|---|
committer | Sean Dague | 2009-02-17 19:06:23 +0000 |
commit | c417a5b619eb85706a1782c5b0943cb8b28bd7a1 (patch) | |
tree | f14981b650694cfc4271f84368a27f63979ff35e /OpenSim/Data/MySQL/Resources/UpgradeRegionsTableToVersion3.sql | |
parent | * Allow inventory archives to be saved from the 'root' inventory directory (diff) | |
download | opensim-SC-c417a5b619eb85706a1782c5b0943cb8b28bd7a1.zip opensim-SC-c417a5b619eb85706a1782c5b0943cb8b28bd7a1.tar.gz opensim-SC-c417a5b619eb85706a1782c5b0943cb8b28bd7a1.tar.bz2 opensim-SC-c417a5b619eb85706a1782c5b0943cb8b28bd7a1.tar.xz |
remove all the very old create and upgrade sql files, these were
outdated by migrations 6 months ago.
Diffstat (limited to 'OpenSim/Data/MySQL/Resources/UpgradeRegionsTableToVersion3.sql')
-rw-r--r-- | OpenSim/Data/MySQL/Resources/UpgradeRegionsTableToVersion3.sql | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/OpenSim/Data/MySQL/Resources/UpgradeRegionsTableToVersion3.sql b/OpenSim/Data/MySQL/Resources/UpgradeRegionsTableToVersion3.sql deleted file mode 100644 index b48afec..0000000 --- a/OpenSim/Data/MySQL/Resources/UpgradeRegionsTableToVersion3.sql +++ /dev/null | |||
@@ -1,18 +0,0 @@ | |||
1 | DROP PROCEDURE IF EXISTS upgraderegions3; | ||
2 | |||
3 | create procedure upgraderegions3() | ||
4 | BEGIN | ||
5 | DECLARE db_name varchar(64); | ||
6 | select database() into db_name; | ||
7 | IF ((select count(*) from information_schema.columns where table_name='regions' and column_name='owner_uuid' and table_schema=db_name) > 0) | ||
8 | THEN | ||
9 | ALTER TABLE `regions`, COMMENT='Rev. 3'; | ||
10 | ELSE | ||
11 | ALTER TABLE `regions` | ||
12 | ADD COLUMN `owner_uuid` varchar(36) default '00000000-0000-0000-0000-000000000000' not null after serverRemotingPort, COMMENT='Rev. 3'; | ||
13 | END IF; | ||
14 | END; | ||
15 | |||
16 | call upgraderegions3(); | ||
17 | |||
18 | |||