diff options
author | Homer Horwitz | 2008-11-15 21:27:10 +0000 |
---|---|---|
committer | Homer Horwitz | 2008-11-15 21:27:10 +0000 |
commit | 9a6cdf662b60e7d6f6843826da6a84637d4798b9 (patch) | |
tree | 0ac44924346d5c94b355844ccee83612a3c96ad2 /OpenSim/Data/MSSQL/Resources | |
parent | - Change llSetRot behavior so it matches the SL behavior (in particular, the (diff) | |
download | opensim-SC_OLD-9a6cdf662b60e7d6f6843826da6a84637d4798b9.zip opensim-SC_OLD-9a6cdf662b60e7d6f6843826da6a84637d4798b9.tar.gz opensim-SC_OLD-9a6cdf662b60e7d6f6843826da6a84637d4798b9.tar.bz2 opensim-SC_OLD-9a6cdf662b60e7d6f6843826da6a84637d4798b9.tar.xz |
Mantis#2626: Thank you Ruud Lathrop, for a patch that cleans up MSSQL code.
Diffstat (limited to 'OpenSim/Data/MSSQL/Resources')
-rw-r--r-- | OpenSim/Data/MSSQL/Resources/001_UserStore.sql | 112 | ||||
-rw-r--r-- | OpenSim/Data/MSSQL/Resources/AvatarAppearance.sql | 47 | ||||
-rw-r--r-- | OpenSim/Data/MSSQL/Resources/CreateAssetsTable.sql | 18 | ||||
-rw-r--r-- | OpenSim/Data/MSSQL/Resources/CreateFoldersTable.sql | 27 | ||||
-rw-r--r-- | OpenSim/Data/MSSQL/Resources/CreateItemsTable.sql | 46 | ||||
-rw-r--r-- | OpenSim/Data/MSSQL/Resources/CreateUserFriendsTable.sql | 14 | ||||
-rw-r--r-- | OpenSim/Data/MSSQL/Resources/Mssql-agents.sql | 37 | ||||
-rw-r--r-- | OpenSim/Data/MSSQL/Resources/Mssql-logs.sql | 20 | ||||
-rw-r--r-- | OpenSim/Data/MSSQL/Resources/Mssql-regions.sql | 41 | ||||
-rw-r--r-- | OpenSim/Data/MSSQL/Resources/Mssql-users.sql | 42 |
10 files changed, 0 insertions, 404 deletions
diff --git a/OpenSim/Data/MSSQL/Resources/001_UserStore.sql b/OpenSim/Data/MSSQL/Resources/001_UserStore.sql index abd6ff2..160c457 100644 --- a/OpenSim/Data/MSSQL/Resources/001_UserStore.sql +++ b/OpenSim/Data/MSSQL/Resources/001_UserStore.sql | |||
@@ -110,115 +110,3 @@ CREATE TABLE [avatarappearance] ( | |||
110 | [Owner] | 110 | [Owner] |
111 | ) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] | 111 | ) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] |
112 | ) ON [PRIMARY] | 112 | ) ON [PRIMARY] |
113 | CREATE TABLE [users] ( | ||
114 | [UUID] [varchar](36) NOT NULL default '', | ||
115 | [username] [varchar](32) NOT NULL, | ||
116 | [lastname] [varchar](32) NOT NULL, | ||
117 | [passwordHash] [varchar](32) NOT NULL, | ||
118 | [passwordSalt] [varchar](32) NOT NULL, | ||
119 | [homeRegion] [bigint] default NULL, | ||
120 | [homeLocationX] [float] default NULL, | ||
121 | [homeLocationY] [float] default NULL, | ||
122 | [homeLocationZ] [float] default NULL, | ||
123 | [homeLookAtX] [float] default NULL, | ||
124 | [homeLookAtY] [float] default NULL, | ||
125 | [homeLookAtZ] [float] default NULL, | ||
126 | [created] [int] NOT NULL, | ||
127 | [lastLogin] [int] NOT NULL, | ||
128 | [userInventoryURI] [varchar](255) default NULL, | ||
129 | [userAssetURI] [varchar](255) default NULL, | ||
130 | [profileCanDoMask] [int] default NULL, | ||
131 | [profileWantDoMask] [int] default NULL, | ||
132 | [profileAboutText] [ntext], | ||
133 | [profileFirstText] [ntext], | ||
134 | [profileImage] [varchar](36) default NULL, | ||
135 | [profileFirstImage] [varchar](36) default NULL, | ||
136 | [webLoginKey] [varchar](36) default NULL, | ||
137 | PRIMARY KEY CLUSTERED | ||
138 | ( | ||
139 | [UUID] ASC | ||
140 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] | ||
141 | ) ON [PRIMARY] | ||
142 | |||
143 | |||
144 | CREATE NONCLUSTERED INDEX [usernames] ON [users] | ||
145 | ( | ||
146 | [username] ASC, | ||
147 | [lastname] ASC | ||
148 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] | ||
149 | |||
150 | |||
151 | CREATE TABLE [agents] ( | ||
152 | [UUID] [varchar](36) NOT NULL, | ||
153 | [sessionID] [varchar](36) NOT NULL, | ||
154 | [secureSessionID] [varchar](36) NOT NULL, | ||
155 | [agentIP] [varchar](16) NOT NULL, | ||
156 | [agentPort] [int] NOT NULL, | ||
157 | [agentOnline] [tinyint] NOT NULL, | ||
158 | [loginTime] [int] NOT NULL, | ||
159 | [logoutTime] [int] NOT NULL, | ||
160 | [currentRegion] [varchar](36) NOT NULL, | ||
161 | [currentHandle] [bigint] NOT NULL, | ||
162 | [currentPos] [varchar](64) NOT NULL, | ||
163 | PRIMARY KEY CLUSTERED | ||
164 | ( | ||
165 | [UUID] ASC | ||
166 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] | ||
167 | ) ON [PRIMARY] | ||
168 | |||
169 | |||
170 | CREATE NONCLUSTERED INDEX [session] ON [agents] | ||
171 | ( | ||
172 | [sessionID] ASC | ||
173 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] | ||
174 | |||
175 | CREATE NONCLUSTERED INDEX [ssession] ON [agents] | ||
176 | ( | ||
177 | [secureSessionID] ASC | ||
178 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] | ||
179 | |||
180 | |||
181 | CREATE TABLE [dbo].[userfriends]( | ||
182 | [ownerID] [varchar](50) COLLATE Latin1_General_CI_AS NOT NULL, | ||
183 | [friendID] [varchar](50) COLLATE Latin1_General_CI_AS NOT NULL, | ||
184 | [friendPerms] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, | ||
185 | [datetimestamp] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL | ||
186 | ) ON [PRIMARY] | ||
187 | |||
188 | CREATE TABLE [avatarappearance] ( | ||
189 | [Owner] [varchar](36) NOT NULL, | ||
190 | [Serial] int NOT NULL, | ||
191 | [Visual_Params] [image] NOT NULL, | ||
192 | [Texture] [image] NOT NULL, | ||
193 | [Avatar_Height] float NOT NULL, | ||
194 | [Body_Item] [varchar](36) NOT NULL, | ||
195 | [Body_Asset] [varchar](36) NOT NULL, | ||
196 | [Skin_Item] [varchar](36) NOT NULL, | ||
197 | [Skin_Asset] [varchar](36) NOT NULL, | ||
198 | [Hair_Item] [varchar](36) NOT NULL, | ||
199 | [Hair_Asset] [varchar](36) NOT NULL, | ||
200 | [Eyes_Item] [varchar](36) NOT NULL, | ||
201 | [Eyes_Asset] [varchar](36) NOT NULL, | ||
202 | [Shirt_Item] [varchar](36) NOT NULL, | ||
203 | [Shirt_Asset] [varchar](36) NOT NULL, | ||
204 | [Pants_Item] [varchar](36) NOT NULL, | ||
205 | [Pants_Asset] [varchar](36) NOT NULL, | ||
206 | [Shoes_Item] [varchar](36) NOT NULL, | ||
207 | [Shoes_Asset] [varchar](36) NOT NULL, | ||
208 | [Socks_Item] [varchar](36) NOT NULL, | ||
209 | [Socks_Asset] [varchar](36) NOT NULL, | ||
210 | [Jacket_Item] [varchar](36) NOT NULL, | ||
211 | [Jacket_Asset] [varchar](36) NOT NULL, | ||
212 | [Gloves_Item] [varchar](36) NOT NULL, | ||
213 | [Gloves_Asset] [varchar](36) NOT NULL, | ||
214 | [Undershirt_Item] [varchar](36) NOT NULL, | ||
215 | [Undershirt_Asset] [varchar](36) NOT NULL, | ||
216 | [Underpants_Item] [varchar](36) NOT NULL, | ||
217 | [Underpants_Asset] [varchar](36) NOT NULL, | ||
218 | [Skirt_Item] [varchar](36) NOT NULL, | ||
219 | [Skirt_Asset] [varchar](36) NOT NULL, | ||
220 | |||
221 | PRIMARY KEY CLUSTERED ( | ||
222 | [Owner] | ||
223 | ) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] | ||
224 | ) ON [PRIMARY] | ||
diff --git a/OpenSim/Data/MSSQL/Resources/AvatarAppearance.sql b/OpenSim/Data/MSSQL/Resources/AvatarAppearance.sql index 1639f56..e69de29 100644 --- a/OpenSim/Data/MSSQL/Resources/AvatarAppearance.sql +++ b/OpenSim/Data/MSSQL/Resources/AvatarAppearance.sql | |||
@@ -1,47 +0,0 @@ | |||
1 | -- | ||
2 | -- Create schema avatar_appearance | ||
3 | -- | ||
4 | |||
5 | SET ANSI_NULLS ON | ||
6 | SET QUOTED_IDENTIFIER ON | ||
7 | SET ANSI_PADDING ON | ||
8 | |||
9 | CREATE TABLE [avatarappearance] ( | ||
10 | [Owner] [varchar](36) NOT NULL, | ||
11 | [Serial] int NOT NULL, | ||
12 | [Visual_Params] [image] NOT NULL, | ||
13 | [Texture] [image] NOT NULL, | ||
14 | [Avatar_Height] float NOT NULL, | ||
15 | [Body_Item] [varchar](36) NOT NULL, | ||
16 | [Body_Asset] [varchar](36) NOT NULL, | ||
17 | [Skin_Item] [varchar](36) NOT NULL, | ||
18 | [Skin_Asset] [varchar](36) NOT NULL, | ||
19 | [Hair_Item] [varchar](36) NOT NULL, | ||
20 | [Hair_Asset] [varchar](36) NOT NULL, | ||
21 | [Eyes_Item] [varchar](36) NOT NULL, | ||
22 | [Eyes_Asset] [varchar](36) NOT NULL, | ||
23 | [Shirt_Item] [varchar](36) NOT NULL, | ||
24 | [Shirt_Asset] [varchar](36) NOT NULL, | ||
25 | [Pants_Item] [varchar](36) NOT NULL, | ||
26 | [Pants_Asset] [varchar](36) NOT NULL, | ||
27 | [Shoes_Item] [varchar](36) NOT NULL, | ||
28 | [Shoes_Asset] [varchar](36) NOT NULL, | ||
29 | [Socks_Item] [varchar](36) NOT NULL, | ||
30 | [Socks_Asset] [varchar](36) NOT NULL, | ||
31 | [Jacket_Item] [varchar](36) NOT NULL, | ||
32 | [Jacket_Asset] [varchar](36) NOT NULL, | ||
33 | [Gloves_Item] [varchar](36) NOT NULL, | ||
34 | [Gloves_Asset] [varchar](36) NOT NULL, | ||
35 | [Undershirt_Item] [varchar](36) NOT NULL, | ||
36 | [Undershirt_Asset] [varchar](36) NOT NULL, | ||
37 | [Underpants_Item] [varchar](36) NOT NULL, | ||
38 | [Underpants_Asset] [varchar](36) NOT NULL, | ||
39 | [Skirt_Item] [varchar](36) NOT NULL, | ||
40 | [Skirt_Asset] [varchar](36) NOT NULL, | ||
41 | |||
42 | PRIMARY KEY CLUSTERED ( | ||
43 | [Owner] | ||
44 | ) WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] | ||
45 | ) ON [PRIMARY] | ||
46 | |||
47 | SET ANSI_PADDING OFF | ||
diff --git a/OpenSim/Data/MSSQL/Resources/CreateAssetsTable.sql b/OpenSim/Data/MSSQL/Resources/CreateAssetsTable.sql index 4d94699..e69de29 100644 --- a/OpenSim/Data/MSSQL/Resources/CreateAssetsTable.sql +++ b/OpenSim/Data/MSSQL/Resources/CreateAssetsTable.sql | |||
@@ -1,18 +0,0 @@ | |||
1 | SET ANSI_NULLS ON | ||
2 | SET QUOTED_IDENTIFIER ON | ||
3 | SET ANSI_PADDING ON | ||
4 | CREATE TABLE [assets] ( | ||
5 | [id] [varchar](36) NOT NULL, | ||
6 | [name] [varchar](64) NOT NULL, | ||
7 | [description] [varchar](64) NOT NULL, | ||
8 | [assetType] [tinyint] NOT NULL, | ||
9 | [local] [tinyint] NOT NULL, | ||
10 | [temporary] [tinyint] NOT NULL, | ||
11 | [data] [image] NOT NULL, | ||
12 | PRIMARY KEY CLUSTERED | ||
13 | ( | ||
14 | [id] ASC | ||
15 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] | ||
16 | ) ON [PRIMARY] | ||
17 | |||
18 | SET ANSI_PADDING OFF | ||
diff --git a/OpenSim/Data/MSSQL/Resources/CreateFoldersTable.sql b/OpenSim/Data/MSSQL/Resources/CreateFoldersTable.sql index 95d183a..e69de29 100644 --- a/OpenSim/Data/MSSQL/Resources/CreateFoldersTable.sql +++ b/OpenSim/Data/MSSQL/Resources/CreateFoldersTable.sql | |||
@@ -1,27 +0,0 @@ | |||
1 | SET ANSI_NULLS ON | ||
2 | SET QUOTED_IDENTIFIER ON | ||
3 | SET ANSI_PADDING ON | ||
4 | CREATE TABLE [inventoryfolders] ( | ||
5 | [folderID] [varchar](36) NOT NULL default '', | ||
6 | [agentID] [varchar](36) default NULL, | ||
7 | [parentFolderID] [varchar](36) default NULL, | ||
8 | [folderName] [varchar](64) default NULL, | ||
9 | [type] [smallint] NOT NULL default 0, | ||
10 | [version] [int] NOT NULL default 0, | ||
11 | PRIMARY KEY CLUSTERED | ||
12 | ( | ||
13 | [folderID] ASC | ||
14 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] | ||
15 | ) ON [PRIMARY] | ||
16 | |||
17 | CREATE NONCLUSTERED INDEX [owner] ON [inventoryfolders] | ||
18 | ( | ||
19 | [agentID] ASC | ||
20 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] | ||
21 | |||
22 | CREATE NONCLUSTERED INDEX [parent] ON [inventoryfolders] | ||
23 | ( | ||
24 | [parentFolderID] ASC | ||
25 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] | ||
26 | |||
27 | SET ANSI_PADDING OFF | ||
diff --git a/OpenSim/Data/MSSQL/Resources/CreateItemsTable.sql b/OpenSim/Data/MSSQL/Resources/CreateItemsTable.sql index c3b0cb1..e69de29 100644 --- a/OpenSim/Data/MSSQL/Resources/CreateItemsTable.sql +++ b/OpenSim/Data/MSSQL/Resources/CreateItemsTable.sql | |||
@@ -1,46 +0,0 @@ | |||
1 | SET ANSI_NULLS ON | ||
2 | |||
3 | SET QUOTED_IDENTIFIER ON | ||
4 | |||
5 | SET ANSI_PADDING ON | ||
6 | |||
7 | CREATE TABLE [inventoryitems] ( | ||
8 | [inventoryID] [varchar](36) NOT NULL default '', | ||
9 | [assetID] [varchar](36) default NULL, | ||
10 | [assetType] [int] default NULL, | ||
11 | [parentFolderID] [varchar](36) default NULL, | ||
12 | [avatarID] [varchar](36) default NULL, | ||
13 | [inventoryName] [varchar](64) default NULL, | ||
14 | [inventoryDescription] [varchar](128) default NULL, | ||
15 | [inventoryNextPermissions] [int] default NULL, | ||
16 | [inventoryCurrentPermissions] [int] default NULL, | ||
17 | [invType] [int] default NULL, | ||
18 | [creatorID] [varchar](36) default NULL, | ||
19 | [inventoryBasePermissions] [int] NOT NULL default 0, | ||
20 | [inventoryEveryOnePermissions] [int] NOT NULL default 0, | ||
21 | [salePrice] [int] default NULL, | ||
22 | [saleType] [tinyint] default NULL, | ||
23 | [creationDate] [int] default NULL, | ||
24 | [groupID] [varchar](36) default NULL, | ||
25 | [groupOwned] [bit] default NULL, | ||
26 | [flags] [int] default NULL, | ||
27 | PRIMARY KEY CLUSTERED | ||
28 | ( | ||
29 | [inventoryID] ASC | ||
30 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] | ||
31 | ) ON [PRIMARY] | ||
32 | |||
33 | |||
34 | CREATE NONCLUSTERED INDEX [owner] ON [inventoryitems] | ||
35 | ( | ||
36 | [avatarID] ASC | ||
37 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] | ||
38 | |||
39 | CREATE NONCLUSTERED INDEX [folder] ON [inventoryitems] | ||
40 | ( | ||
41 | [parentFolderID] ASC | ||
42 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] | ||
43 | |||
44 | SET ANSI_PADDING OFF | ||
45 | |||
46 | |||
diff --git a/OpenSim/Data/MSSQL/Resources/CreateUserFriendsTable.sql b/OpenSim/Data/MSSQL/Resources/CreateUserFriendsTable.sql index 6f5885e..e69de29 100644 --- a/OpenSim/Data/MSSQL/Resources/CreateUserFriendsTable.sql +++ b/OpenSim/Data/MSSQL/Resources/CreateUserFriendsTable.sql | |||
@@ -1,14 +0,0 @@ | |||
1 | SET ANSI_NULLS ON | ||
2 | |||
3 | SET QUOTED_IDENTIFIER ON | ||
4 | |||
5 | SET ANSI_PADDING ON | ||
6 | |||
7 | CREATE TABLE [dbo].[userfriends]( | ||
8 | [ownerID] [varchar](50) COLLATE Latin1_General_CI_AS NOT NULL, | ||
9 | [friendID] [varchar](50) COLLATE Latin1_General_CI_AS NOT NULL, | ||
10 | [friendPerms] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, | ||
11 | [datetimestamp] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL | ||
12 | ) ON [PRIMARY] | ||
13 | |||
14 | SET ANSI_PADDING OFF | ||
diff --git a/OpenSim/Data/MSSQL/Resources/Mssql-agents.sql b/OpenSim/Data/MSSQL/Resources/Mssql-agents.sql index ad53173..e69de29 100644 --- a/OpenSim/Data/MSSQL/Resources/Mssql-agents.sql +++ b/OpenSim/Data/MSSQL/Resources/Mssql-agents.sql | |||
@@ -1,37 +0,0 @@ | |||
1 | SET ANSI_NULLS ON | ||
2 | |||
3 | SET QUOTED_IDENTIFIER ON | ||
4 | |||
5 | SET ANSI_PADDING ON | ||
6 | |||
7 | CREATE TABLE [agents] ( | ||
8 | [UUID] [varchar](36) NOT NULL, | ||
9 | [sessionID] [varchar](36) NOT NULL, | ||
10 | [secureSessionID] [varchar](36) NOT NULL, | ||
11 | [agentIP] [varchar](16) NOT NULL, | ||
12 | [agentPort] [int] NOT NULL, | ||
13 | [agentOnline] [tinyint] NOT NULL, | ||
14 | [loginTime] [int] NOT NULL, | ||
15 | [logoutTime] [int] NOT NULL, | ||
16 | [currentRegion] [varchar](36) NOT NULL, | ||
17 | [currentHandle] [bigint] NOT NULL, | ||
18 | [currentPos] [varchar](64) NOT NULL, | ||
19 | PRIMARY KEY CLUSTERED | ||
20 | ( | ||
21 | [UUID] ASC | ||
22 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] | ||
23 | ) ON [PRIMARY] | ||
24 | |||
25 | |||
26 | CREATE NONCLUSTERED INDEX [session] ON [agents] | ||
27 | ( | ||
28 | [sessionID] ASC | ||
29 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] | ||
30 | |||
31 | CREATE NONCLUSTERED INDEX [ssession] ON [agents] | ||
32 | ( | ||
33 | [secureSessionID] ASC | ||
34 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] | ||
35 | |||
36 | SET ANSI_PADDING OFF | ||
37 | |||
diff --git a/OpenSim/Data/MSSQL/Resources/Mssql-logs.sql b/OpenSim/Data/MSSQL/Resources/Mssql-logs.sql index 3b747d8..e69de29 100644 --- a/OpenSim/Data/MSSQL/Resources/Mssql-logs.sql +++ b/OpenSim/Data/MSSQL/Resources/Mssql-logs.sql | |||
@@ -1,20 +0,0 @@ | |||
1 | SET ANSI_NULLS ON | ||
2 | |||
3 | SET QUOTED_IDENTIFIER ON | ||
4 | |||
5 | SET ANSI_PADDING ON | ||
6 | |||
7 | CREATE TABLE [logs] ( | ||
8 | [logID] [int] NOT NULL, | ||
9 | [target] [varchar](36) default NULL, | ||
10 | [server] [varchar](64) default NULL, | ||
11 | [method] [varchar](64) default NULL, | ||
12 | [arguments] [varchar](255) default NULL, | ||
13 | [priority] [int] default NULL, | ||
14 | [message] [ntext], | ||
15 | PRIMARY KEY CLUSTERED | ||
16 | ( | ||
17 | [logID] ASC | ||
18 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] | ||
19 | ) ON [PRIMARY] | ||
20 | |||
diff --git a/OpenSim/Data/MSSQL/Resources/Mssql-regions.sql b/OpenSim/Data/MSSQL/Resources/Mssql-regions.sql index b29a2ab..e69de29 100644 --- a/OpenSim/Data/MSSQL/Resources/Mssql-regions.sql +++ b/OpenSim/Data/MSSQL/Resources/Mssql-regions.sql | |||
@@ -1,41 +0,0 @@ | |||
1 | SET ANSI_NULLS ON | ||
2 | |||
3 | SET QUOTED_IDENTIFIER ON | ||
4 | |||
5 | SET ANSI_PADDING ON | ||
6 | |||
7 | CREATE TABLE [dbo].[regions]( | ||
8 | [regionHandle] [varchar](255) COLLATE Latin1_General_CI_AS NULL, | ||
9 | [regionName] [varchar](255) COLLATE Latin1_General_CI_AS NULL, | ||
10 | [uuid] [varchar](255) COLLATE Latin1_General_CI_AS NOT NULL, | ||
11 | [regionRecvKey] [varchar](255) COLLATE Latin1_General_CI_AS NULL, | ||
12 | [regionSecret] [varchar](255) COLLATE Latin1_General_CI_AS NULL, | ||
13 | [regionSendKey] [varchar](255) COLLATE Latin1_General_CI_AS NULL, | ||
14 | [regionDataURI] [varchar](255) COLLATE Latin1_General_CI_AS NULL, | ||
15 | [serverIP] [varchar](255) COLLATE Latin1_General_CI_AS NULL, | ||
16 | [serverPort] [varchar](255) COLLATE Latin1_General_CI_AS NULL, | ||
17 | [serverURI] [varchar](255) COLLATE Latin1_General_CI_AS NULL, | ||
18 | [locX] [varchar](255) COLLATE Latin1_General_CI_AS NULL, | ||
19 | [locY] [varchar](255) COLLATE Latin1_General_CI_AS NULL, | ||
20 | [locZ] [varchar](255) COLLATE Latin1_General_CI_AS NULL, | ||
21 | [eastOverrideHandle] [varchar](255) COLLATE Latin1_General_CI_AS NULL, | ||
22 | [westOverrideHandle] [varchar](255) COLLATE Latin1_General_CI_AS NULL, | ||
23 | [southOverrideHandle] [varchar](255) COLLATE Latin1_General_CI_AS NULL, | ||
24 | [northOverrideHandle] [varchar](255) COLLATE Latin1_General_CI_AS NULL, | ||
25 | [regionAssetURI] [varchar](255) COLLATE Latin1_General_CI_AS NULL, | ||
26 | [regionAssetRecvKey] [varchar](255) COLLATE Latin1_General_CI_AS NULL, | ||
27 | [regionAssetSendKey] [varchar](255) COLLATE Latin1_General_CI_AS NULL, | ||
28 | [regionUserURI] [varchar](255) COLLATE Latin1_General_CI_AS NULL, | ||
29 | [regionUserRecvKey] [varchar](255) COLLATE Latin1_General_CI_AS NULL, | ||
30 | [regionUserSendKey] [varchar](255) COLLATE Latin1_General_CI_AS NULL, | ||
31 | [regionMapTexture] [varchar](255) COLLATE Latin1_General_CI_AS NULL, | ||
32 | [serverHttpPort] [varchar](255) COLLATE Latin1_General_CI_AS NULL, | ||
33 | [serverRemotingPort] [varchar](255) COLLATE Latin1_General_CI_AS NULL, | ||
34 | [owner_uuid] [varchar](36) COLLATE Latin1_General_CI_AS NULL, | ||
35 | PRIMARY KEY CLUSTERED | ||
36 | ( | ||
37 | [uuid] ASC | ||
38 | )WITH (PAD_INDEX = OFF, IGNORE_DUP_KEY = OFF) ON [PRIMARY] | ||
39 | ) ON [PRIMARY] | ||
40 | |||
41 | SET ANSI_PADDING OFF | ||
diff --git a/OpenSim/Data/MSSQL/Resources/Mssql-users.sql b/OpenSim/Data/MSSQL/Resources/Mssql-users.sql index abcc091..e69de29 100644 --- a/OpenSim/Data/MSSQL/Resources/Mssql-users.sql +++ b/OpenSim/Data/MSSQL/Resources/Mssql-users.sql | |||
@@ -1,42 +0,0 @@ | |||
1 | SET ANSI_NULLS ON | ||
2 | |||
3 | SET QUOTED_IDENTIFIER ON | ||
4 | |||
5 | SET ANSI_PADDING ON | ||
6 | |||
7 | CREATE TABLE [users] ( | ||
8 | [UUID] [varchar](36) NOT NULL default '', | ||
9 | [username] [varchar](32) NOT NULL, | ||
10 | [lastname] [varchar](32) NOT NULL, | ||
11 | [passwordHash] [varchar](32) NOT NULL, | ||
12 | [passwordSalt] [varchar](32) NOT NULL, | ||
13 | [homeRegion] [bigint] default NULL, | ||
14 | [homeLocationX] [float] default NULL, | ||
15 | [homeLocationY] [float] default NULL, | ||
16 | [homeLocationZ] [float] default NULL, | ||
17 | [homeLookAtX] [float] default NULL, | ||
18 | [homeLookAtY] [float] default NULL, | ||
19 | [homeLookAtZ] [float] default NULL, | ||
20 | [created] [int] NOT NULL, | ||
21 | [lastLogin] [int] NOT NULL, | ||
22 | [userInventoryURI] [varchar](255) default NULL, | ||
23 | [userAssetURI] [varchar](255) default NULL, | ||
24 | [profileCanDoMask] [int] default NULL, | ||
25 | [profileWantDoMask] [int] default NULL, | ||
26 | [profileAboutText] [ntext], | ||
27 | [profileFirstText] [ntext], | ||
28 | [profileImage] [varchar](36) default NULL, | ||
29 | [profileFirstImage] [varchar](36) default NULL, | ||
30 | [webLoginKey] [varchar](36) default NULL, | ||
31 | PRIMARY KEY CLUSTERED | ||
32 | ( | ||
33 | [UUID] ASC | ||
34 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] | ||
35 | ) ON [PRIMARY] | ||
36 | |||
37 | |||
38 | CREATE NONCLUSTERED INDEX [usernames] ON [users] | ||
39 | ( | ||
40 | [username] ASC, | ||
41 | [lastname] ASC | ||
42 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, SORT_IN_TEMPDB = OFF, IGNORE_DUP_KEY = OFF, DROP_EXISTING = OFF, ONLINE = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] | ||