diff options
Merge branch 'master' into careminster-presence-refactor
Diffstat (limited to 'OpenSim/Data/MSSQL/Resources/001_UserStore.sql')
-rw-r--r-- | OpenSim/Data/MSSQL/Resources/001_UserStore.sql | 112 |
1 files changed, 0 insertions, 112 deletions
diff --git a/OpenSim/Data/MSSQL/Resources/001_UserStore.sql b/OpenSim/Data/MSSQL/Resources/001_UserStore.sql deleted file mode 100644 index 160c457..0000000 --- a/OpenSim/Data/MSSQL/Resources/001_UserStore.sql +++ /dev/null | |||
@@ -1,112 +0,0 @@ | |||
1 | CREATE TABLE [users] ( | ||
2 | [UUID] [varchar](36) NOT NULL default '', | ||
3 | [username] [varchar](32) NOT NULL, | ||
4 | [lastname] [varchar](32) NOT NULL, | ||
5 | [passwordHash] [varchar](32) NOT NULL, | ||
6 | [passwordSalt] [varchar](32) NOT NULL, | ||
7 | [homeRegion] [bigint] default NULL, | ||
8 | [homeLocationX] [float] default NULL, | ||
9 | [homeLocationY] [float] default NULL, | ||
10 | [homeLocationZ] [float] default NULL, | ||
11 | [homeLookAtX] [float] default NULL, | ||
12 | [homeLookAtY] [float] default NULL, | ||
13 | [homeLookAtZ] [float] default NULL, | ||
14 | [created] [int] NOT NULL, | ||
15 | [lastLogin] [int] NOT NULL, | ||
16 | [userInventoryURI] [varchar](255) default NULL, | ||
17 | [userAssetURI] [varchar](255) default NULL, | ||
18 | [profileCanDoMask] [int] default NULL, | ||
19 | [profileWantDoMask] [int] default NULL, | ||
20 | [profileAboutText] [ntext], | ||
21 | [profileFirstText] [ntext], | ||
22 | [profileImage] [varchar](36) default NULL, | ||
23 | [profileFirstImage] [varchar](36) default NULL, | ||
24 | [webLoginKey] [varchar](36) default NULL, | ||
25 | PRIMARY KEY CLUSTERED | ||
26 | ( | ||
27 | [UUID] ASC | ||
28 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] | ||
29 | ) ON [PRIMARY] | ||
30 | |||
31 | |||
32 | CREATE NONCLUSTERED INDEX [usernames] ON [users] | ||
33 | ( | ||
34 | [username] ASC, | ||
35 | [lastname] ASC | ||
36 | )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] | ||
37 | |||
38 | |||
39 | CREATE TABLE [agents] ( | ||
40 | [UUID] [varchar](36) NOT NULL, | ||
41 | [sessionID] [varchar](36) NOT NULL, | ||
42 | [secureSessionID] [varchar](36) NOT NULL, | ||
43 | [agentIP] [varchar](16) NOT NULL, | ||
44 | [agentPort] [int] NOT NULL, | ||
45 | [agentOnline] [tinyint] NOT NULL, | ||
46 | [loginTime] [int] NOT NULL, | ||
47 | [logoutTime] [int] NOT NULL, | ||
48 | [currentRegion] [varchar](36) NOT NULL, | ||
49 | [currentHandle] [bigint] NOT NULL, | ||
50 | [currentPos] [varchar](64) NOT NULL, | ||
51 | PRIMARY KEY CLUSTERED | ||
52 | ( | ||
53 | [UUID] ASC | ||
54 | )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] | ||
55 | ) ON [PRIMARY] | ||
56 | |||
57 | |||
58 | CREATE NONCLUSTERED INDEX [session] ON [agents] | ||
59 | ( | ||
60 | [sessionID] ASC | ||
61 | )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] | ||
62 | |||
63 | CREATE NONCLUSTERED INDEX [ssession] ON [agents] | ||
64 | ( | ||
65 | [secureSessionID] ASC | ||
66 | )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] | ||
67 | |||
68 | |||
69 | CREATE TABLE [dbo].[userfriends]( | ||
70 | [ownerID] [varchar](50) COLLATE Latin1_General_CI_AS NOT NULL, | ||
71 | [friendID] [varchar](50) COLLATE Latin1_General_CI_AS NOT NULL, | ||
72 | [friendPerms] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL, | ||
73 | [datetimestamp] [nvarchar](50) COLLATE SQL_Latin1_General_CP1_CI_AS NOT NULL | ||
74 | ) ON [PRIMARY] | ||
75 | |||
76 | CREATE TABLE [avatarappearance] ( | ||
77 | [Owner] [varchar](36) NOT NULL, | ||
78 | [Serial] int NOT NULL, | ||
79 | [Visual_Params] [image] NOT NULL, | ||
80 | [Texture] [image] NOT NULL, | ||
81 | [Avatar_Height] float NOT NULL, | ||
82 | [Body_Item] [varchar](36) NOT NULL, | ||
83 | [Body_Asset] [varchar](36) NOT NULL, | ||
84 | [Skin_Item] [varchar](36) NOT NULL, | ||
85 | [Skin_Asset] [varchar](36) NOT NULL, | ||
86 | [Hair_Item] [varchar](36) NOT NULL, | ||
87 | [Hair_Asset] [varchar](36) NOT NULL, | ||
88 | [Eyes_Item] [varchar](36) NOT NULL, | ||
89 | [Eyes_Asset] [varchar](36) NOT NULL, | ||
90 | [Shirt_Item] [varchar](36) NOT NULL, | ||
91 | [Shirt_Asset] [varchar](36) NOT NULL, | ||
92 | [Pants_Item] [varchar](36) NOT NULL, | ||
93 | [Pants_Asset] [varchar](36) NOT NULL, | ||
94 | [Shoes_Item] [varchar](36) NOT NULL, | ||
95 | [Shoes_Asset] [varchar](36) NOT NULL, | ||
96 | [Socks_Item] [varchar](36) NOT NULL, | ||
97 | [Socks_Asset] [varchar](36) NOT NULL, | ||
98 | [Jacket_Item] [varchar](36) NOT NULL, | ||
99 | [Jacket_Asset] [varchar](36) NOT NULL, | ||
100 | [Gloves_Item] [varchar](36) NOT NULL, | ||
101 | [Gloves_Asset] [varchar](36) NOT NULL, | ||
102 | [Undershirt_Item] [varchar](36) NOT NULL, | ||
103 | [Undershirt_Asset] [varchar](36) NOT NULL, | ||
104 | [Underpants_Item] [varchar](36) NOT NULL, | ||
105 | [Underpants_Asset] [varchar](36) NOT NULL, | ||
106 | [Skirt_Item] [varchar](36) NOT NULL, | ||
107 | [Skirt_Asset] [varchar](36) NOT NULL, | ||
108 | |||
109 | PRIMARY KEY CLUSTERED ( | ||
110 | [Owner] | ||
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] | ||