diff options
author | Jeff Ames | 2008-11-09 01:31:38 +0000 |
---|---|---|
committer | Jeff Ames | 2008-11-09 01:31:38 +0000 |
commit | 8da726c3a8a3ab983fc11ad890a0b91016c86a1f (patch) | |
tree | a19c3a3a813bafedf876fb8943c7ef60ccbbb851 /OpenSim/Data | |
parent | Reintroduce transactionID to the parameter list for SendInstantMessage. (diff) | |
download | opensim-SC-8da726c3a8a3ab983fc11ad890a0b91016c86a1f.zip opensim-SC-8da726c3a8a3ab983fc11ad890a0b91016c86a1f.tar.gz opensim-SC-8da726c3a8a3ab983fc11ad890a0b91016c86a1f.tar.bz2 opensim-SC-8da726c3a8a3ab983fc11ad890a0b91016c86a1f.tar.xz |
Update svn properties. Add copyright headers. Minor formatting cleanup.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Data/MSSQL/Resources/002_EstateStore.sql | 50 | ||||
-rw-r--r-- | OpenSim/Data/MSSQL/Resources/003_EstateStore.sql | 50 |
2 files changed, 50 insertions, 50 deletions
diff --git a/OpenSim/Data/MSSQL/Resources/002_EstateStore.sql b/OpenSim/Data/MSSQL/Resources/002_EstateStore.sql index 86c5cb6..18c12c0 100644 --- a/OpenSim/Data/MSSQL/Resources/002_EstateStore.sql +++ b/OpenSim/Data/MSSQL/Resources/002_EstateStore.sql | |||
@@ -1,25 +1,25 @@ | |||
1 | BEGIN TRANSACTION | 1 | BEGIN TRANSACTION |
2 | 2 | ||
3 | ALTER TABLE dbo.estate_managers DROP CONSTRAINT PK_estate_managers | 3 | ALTER TABLE dbo.estate_managers DROP CONSTRAINT PK_estate_managers |
4 | 4 | ||
5 | CREATE NONCLUSTERED INDEX IX_estate_managers ON dbo.estate_managers | 5 | CREATE NONCLUSTERED INDEX IX_estate_managers ON dbo.estate_managers |
6 | ( | 6 | ( |
7 | EstateID | 7 | EstateID |
8 | ) WITH( STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] | 8 | ) WITH( STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] |
9 | 9 | ||
10 | ALTER TABLE dbo.estate_groups DROP CONSTRAINT PK_estate_groups | 10 | ALTER TABLE dbo.estate_groups DROP CONSTRAINT PK_estate_groups |
11 | 11 | ||
12 | CREATE NONCLUSTERED INDEX IX_estate_groups ON dbo.estate_groups | 12 | CREATE NONCLUSTERED INDEX IX_estate_groups ON dbo.estate_groups |
13 | ( | 13 | ( |
14 | EstateID | 14 | EstateID |
15 | ) WITH( STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] | 15 | ) WITH( STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] |
16 | 16 | ||
17 | 17 | ||
18 | ALTER TABLE dbo.estate_users DROP CONSTRAINT PK_estate_users | 18 | ALTER TABLE dbo.estate_users DROP CONSTRAINT PK_estate_users |
19 | 19 | ||
20 | CREATE NONCLUSTERED INDEX IX_estate_users ON dbo.estate_users | 20 | CREATE NONCLUSTERED INDEX IX_estate_users ON dbo.estate_users |
21 | ( | 21 | ( |
22 | EstateID | 22 | EstateID |
23 | ) WITH( STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] | 23 | ) WITH( STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] |
24 | 24 | ||
25 | COMMIT | 25 | COMMIT |
diff --git a/OpenSim/Data/MSSQL/Resources/003_EstateStore.sql b/OpenSim/Data/MSSQL/Resources/003_EstateStore.sql index 7dd0ec8..120966a 100644 --- a/OpenSim/Data/MSSQL/Resources/003_EstateStore.sql +++ b/OpenSim/Data/MSSQL/Resources/003_EstateStore.sql | |||
@@ -1,25 +1,25 @@ | |||
1 | BEGIN TRANSACTION | 1 | BEGIN TRANSACTION |
2 | 2 | ||
3 | CREATE TABLE dbo.Tmp_estateban | 3 | CREATE TABLE dbo.Tmp_estateban |
4 | ( | 4 | ( |
5 | EstateID int NOT NULL, | 5 | EstateID int NOT NULL, |
6 | bannedUUID varchar(36) NOT NULL, | 6 | bannedUUID varchar(36) NOT NULL, |
7 | bannedIp varchar(16) NULL, | 7 | bannedIp varchar(16) NULL, |
8 | bannedIpHostMask varchar(16) NULL, | 8 | bannedIpHostMask varchar(16) NULL, |
9 | bannedNameMask varchar(64) NULL | 9 | bannedNameMask varchar(64) NULL |
10 | ) ON [PRIMARY] | 10 | ) ON [PRIMARY] |
11 | 11 | ||
12 | IF EXISTS(SELECT * FROM dbo.estateban) | 12 | IF EXISTS(SELECT * FROM dbo.estateban) |
13 | EXEC('INSERT INTO dbo.Tmp_estateban (EstateID, bannedUUID, bannedIp, bannedIpHostMask, bannedNameMask) | 13 | EXEC('INSERT INTO dbo.Tmp_estateban (EstateID, bannedUUID, bannedIp, bannedIpHostMask, bannedNameMask) |
14 | SELECT EstateID, bannedUUID, bannedIp, bannedIpHostMask, bannedNameMask FROM dbo.estateban') | 14 | SELECT EstateID, bannedUUID, bannedIp, bannedIpHostMask, bannedNameMask FROM dbo.estateban') |
15 | 15 | ||
16 | DROP TABLE dbo.estateban | 16 | DROP TABLE dbo.estateban |
17 | 17 | ||
18 | EXECUTE sp_rename N'dbo.Tmp_estateban', N'estateban', 'OBJECT' | 18 | EXECUTE sp_rename N'dbo.Tmp_estateban', N'estateban', 'OBJECT' |
19 | 19 | ||
20 | CREATE NONCLUSTERED INDEX IX_estateban ON dbo.estateban | 20 | CREATE NONCLUSTERED INDEX IX_estateban ON dbo.estateban |
21 | ( | 21 | ( |
22 | EstateID | 22 | EstateID |
23 | ) WITH( STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] | 23 | ) WITH( STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] |
24 | 24 | ||
25 | COMMIT | 25 | COMMIT |