aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/MSSQL/Resources/GridStore.migrations
diff options
context:
space:
mode:
authorDiva Canto2011-04-28 07:28:29 -0700
committerDiva Canto2011-04-28 07:28:29 -0700
commit7ecf6895842eff93155e49d2f7fa4cd833510726 (patch)
tree76caa8db816b9b6d83dc945135e2a7f16c740d48 /OpenSim/Data/MSSQL/Resources/GridStore.migrations
parentFix a bug where physical objects rezzed with an initial velocity by script do... (diff)
downloadopensim-SC_OLD-7ecf6895842eff93155e49d2f7fa4cd833510726.zip
opensim-SC_OLD-7ecf6895842eff93155e49d2f7fa4cd833510726.tar.gz
opensim-SC_OLD-7ecf6895842eff93155e49d2f7fa4cd833510726.tar.bz2
opensim-SC_OLD-7ecf6895842eff93155e49d2f7fa4cd833510726.tar.xz
Thank you MrMonkE for a patch that seems to bring the MSSQL data layer up to speed with 0.7.x.
Diffstat (limited to '')
-rw-r--r--OpenSim/Data/MSSQL/Resources/GridStore.migrations13
1 files changed, 13 insertions, 0 deletions
diff --git a/OpenSim/Data/MSSQL/Resources/GridStore.migrations b/OpenSim/Data/MSSQL/Resources/GridStore.migrations
index d2ca27a..c6342fc 100644
--- a/OpenSim/Data/MSSQL/Resources/GridStore.migrations
+++ b/OpenSim/Data/MSSQL/Resources/GridStore.migrations
@@ -222,4 +222,17 @@ ALTER TABLE [regions] ADD [Token] varchar(255) NOT NULL DEFAULT 0;
222 222
223COMMIT 223COMMIT
224 224
225:VERSION 8
225 226
227BEGIN TRANSACTION
228ALTER TABLE regions ALTER COLUMN regionName VarChar(128)
229
230DROP INDEX IX_regions_name ON dbo.regions
231ALTER TABLE regions ALTER COLUMN regionName VarChar(128) null
232
233CREATE NONCLUSTERED INDEX IX_regions_name ON dbo.regions
234 (
235 regionName
236 ) WITH( STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
237
238COMMIT \ No newline at end of file