diff options
author | John Hurliman | 2009-10-19 16:52:27 -0700 |
---|---|---|
committer | John Hurliman | 2009-10-19 16:52:27 -0700 |
commit | fdce1be3db287bed901332b90ba57165e201d3fc (patch) | |
tree | 8f0792e4c4ac4c14a50559f8439573740a7b3326 /OpenSim/Data/NHibernate/Resources/PostgreSQLDialect/001_UserStore.sql | |
parent | Merge branch 'prioritization' of ssh://opensimulator.org/var/git/opensim into... (diff) | |
download | opensim-SC-fdce1be3db287bed901332b90ba57165e201d3fc.zip opensim-SC-fdce1be3db287bed901332b90ba57165e201d3fc.tar.gz opensim-SC-fdce1be3db287bed901332b90ba57165e201d3fc.tar.bz2 opensim-SC-fdce1be3db287bed901332b90ba57165e201d3fc.tar.xz |
* Removed OpenSim.Data.NHibernate
* Replaced calls to ThreadPool.QueueUserWorkItem() with ThreadPool.UnsafeQueueUserWorkItem() since OpenSim does not use Code Access Security sandboxing
Diffstat (limited to 'OpenSim/Data/NHibernate/Resources/PostgreSQLDialect/001_UserStore.sql')
-rw-r--r-- | OpenSim/Data/NHibernate/Resources/PostgreSQLDialect/001_UserStore.sql | 104 |
1 files changed, 0 insertions, 104 deletions
diff --git a/OpenSim/Data/NHibernate/Resources/PostgreSQLDialect/001_UserStore.sql b/OpenSim/Data/NHibernate/Resources/PostgreSQLDialect/001_UserStore.sql deleted file mode 100644 index b3c7ef1..0000000 --- a/OpenSim/Data/NHibernate/Resources/PostgreSQLDialect/001_UserStore.sql +++ /dev/null | |||
@@ -1,104 +0,0 @@ | |||
1 | CREATE TABLE UserAgents ( | ||
2 | ProfileID VARCHAR(36) NOT NULL, | ||
3 | AgentIP VARCHAR(24) DEFAULT NULL, | ||
4 | AgentPort INT DEFAULT NULL, | ||
5 | AgentOnline BOOLEAN DEFAULT NULL, | ||
6 | SessionID VARCHAR(36) DEFAULT NULL, | ||
7 | SecureSessionID VARCHAR(36) DEFAULT NULL, | ||
8 | InitialRegion VARCHAR(255) DEFAULT NULL, | ||
9 | Region VARCHAR(255) DEFAULT NULL, | ||
10 | LoginTime INT DEFAULT NULL, | ||
11 | LogoutTime INT DEFAULT NULL, | ||
12 | Handle BIGINT DEFAULT NULL, | ||
13 | PositionX DOUBLE PRECISION DEFAULT NULL, | ||
14 | PositionY DOUBLE PRECISION DEFAULT NULL, | ||
15 | PositionZ DOUBLE PRECISION DEFAULT NULL, | ||
16 | LookAtX DOUBLE PRECISION DEFAULT NULL, | ||
17 | LookAtY DOUBLE PRECISION DEFAULT NULL, | ||
18 | LookAtZ DOUBLE PRECISION DEFAULT NULL, | ||
19 | PRIMARY KEY (ProfileID) | ||
20 | ); | ||
21 | |||
22 | CREATE TABLE UserProfiles ( | ||
23 | ID VARCHAR(36) NOT NULL, | ||
24 | WebLoginKey VARCHAR(36) DEFAULT NULL, | ||
25 | FirstName VARCHAR(32) DEFAULT NULL, | ||
26 | SurName VARCHAR(32) DEFAULT NULL, | ||
27 | Email VARCHAR(250) DEFAULT NULL, | ||
28 | PasswordHash VARCHAR(32) DEFAULT NULL, | ||
29 | PasswordSalt VARCHAR(32) DEFAULT NULL, | ||
30 | HomeRegionID VARCHAR(36) DEFAULT NULL, | ||
31 | HomeRegionX INT DEFAULT NULL, | ||
32 | HomeRegionY INT DEFAULT NULL, | ||
33 | HomeLocationX DOUBLE PRECISION DEFAULT NULL, | ||
34 | HomeLocationY DOUBLE PRECISION DEFAULT NULL, | ||
35 | HomeLocationZ DOUBLE PRECISION DEFAULT NULL, | ||
36 | HomeLookAtX DOUBLE PRECISION DEFAULT NULL, | ||
37 | HomeLookAtY DOUBLE PRECISION DEFAULT NULL, | ||
38 | HomeLookAtZ DOUBLE PRECISION DEFAULT NULL, | ||
39 | Created INT DEFAULT NULL, | ||
40 | LastLogin INT DEFAULT NULL, | ||
41 | UserInventoryURI VARCHAR(255) DEFAULT NULL, | ||
42 | UserAssetURI VARCHAR(255) DEFAULT NULL, | ||
43 | Image VARCHAR(36) DEFAULT NULL, | ||
44 | FirstLifeImage VARCHAR(36) DEFAULT NULL, | ||
45 | AboutText TEXT DEFAULT NULL, | ||
46 | FirstLifeAboutText TEXT DEFAULT NULL, | ||
47 | CanDoMask INT DEFAULT NULL, | ||
48 | WantDoMask INT DEFAULT NULL, | ||
49 | UserFlags INT DEFAULT NULL, | ||
50 | GodLevel INT DEFAULT NULL, | ||
51 | CustomType VARCHAR(32) DEFAULT NULL, | ||
52 | Partner VARCHAR(36) DEFAULT NULL, | ||
53 | RootInventoryFolderID VARCHAR(36) DEFAULT NULL, | ||
54 | PRIMARY KEY (ID) | ||
55 | ); | ||
56 | |||
57 | CREATE INDEX UserSurnameIndex ON UserProfiles (SurName); | ||
58 | CREATE INDEX UserFirstNameIndex ON UserProfiles (FirstName); | ||
59 | CREATE UNIQUE INDEX UserFullNameIndex ON UserProfiles (SurName,FirstName); | ||
60 | |||
61 | CREATE TABLE UserAppearances ( | ||
62 | Owner VARCHAR(36) NOT NULL, | ||
63 | BodyItem VARCHAR(36) DEFAULT NULL, | ||
64 | BodyAsset VARCHAR(36) DEFAULT NULL, | ||
65 | SkinItem VARCHAR(36) DEFAULT NULL, | ||
66 | SkinAsset VARCHAR(36) DEFAULT NULL, | ||
67 | HairItem VARCHAR(36) DEFAULT NULL, | ||
68 | HairAsset VARCHAR(36) DEFAULT NULL, | ||
69 | EyesItem VARCHAR(36) DEFAULT NULL, | ||
70 | EyesAsset VARCHAR(36) DEFAULT NULL, | ||
71 | ShirtItem VARCHAR(36) DEFAULT NULL, | ||
72 | ShirtAsset VARCHAR(36) DEFAULT NULL, | ||
73 | PantsItem VARCHAR(36) DEFAULT NULL, | ||
74 | PantsAsset VARCHAR(36) DEFAULT NULL, | ||
75 | ShoesItem VARCHAR(36) DEFAULT NULL, | ||
76 | ShoesAsset VARCHAR(36) DEFAULT NULL, | ||
77 | SocksItem VARCHAR(36) DEFAULT NULL, | ||
78 | SocksAsset VARCHAR(36) DEFAULT NULL, | ||
79 | JacketItem VARCHAR(36) DEFAULT NULL, | ||
80 | JacketAsset VARCHAR(36) DEFAULT NULL, | ||
81 | GlovesItem VARCHAR(36) DEFAULT NULL, | ||
82 | GlovesAsset VARCHAR(36) DEFAULT NULL, | ||
83 | UnderShirtItem VARCHAR(36) DEFAULT NULL, | ||
84 | UnderShirtAsset VARCHAR(36) DEFAULT NULL, | ||
85 | UnderPantsItem VARCHAR(36) DEFAULT NULL, | ||
86 | UnderPantsAsset VARCHAR(36) DEFAULT NULL, | ||
87 | SkirtItem VARCHAR(36) DEFAULT NULL, | ||
88 | SkirtAsset VARCHAR(36) DEFAULT NULL, | ||
89 | Texture BYTEA, | ||
90 | VisualParams BYTEA, | ||
91 | Serial INT DEFAULT NULL, | ||
92 | AvatarHeight FLOAT DEFAULT NULL, | ||
93 | PRIMARY KEY (Owner) | ||
94 | ); | ||
95 | |||
96 | CREATE TABLE UserFriends ( | ||
97 | UserFriendID VARCHAR(36) NOT NULL, | ||
98 | OwnerID VARCHAR(36) DEFAULT NULL, | ||
99 | FriendID VARCHAR(36) DEFAULT NULL, | ||
100 | FriendPermissions INT DEFAULT NULL, | ||
101 | PRIMARY KEY (UserFriendID) | ||
102 | ); | ||
103 | |||
104 | CREATE UNIQUE INDEX UserFriendsOwnerIdFriendIdIndex ON UserFriends (OwnerID,FriendID); | ||