aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/NHibernate/Resources/SQLiteDialect/001_UserStore.sql
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-12-04 20:48:08 +0000
committerJustin Clarke Casey2008-12-04 20:48:08 +0000
commitbdee86563cfce5211f182b78e64503a05fc7ffa1 (patch)
tree9b1e7e941e787d36f2248ff4b57f101a779351a6 /OpenSim/Data/NHibernate/Resources/SQLiteDialect/001_UserStore.sql
parent* Apply http://opensimulator.org/mantis/view.php?id=2750 with a small tweak. (diff)
downloadopensim-SC_OLD-bdee86563cfce5211f182b78e64503a05fc7ffa1.zip
opensim-SC_OLD-bdee86563cfce5211f182b78e64503a05fc7ffa1.tar.gz
opensim-SC_OLD-bdee86563cfce5211f182b78e64503a05fc7ffa1.tar.bz2
opensim-SC_OLD-bdee86563cfce5211f182b78e64503a05fc7ffa1.tar.xz
* Check in another patch from http://opensimulator.org/mantis/view.php?id=2710
* This allows removal of the old NHiberate.Mapping.Attributes.dll * Also add in the files I forgot about last time. Doh!
Diffstat (limited to 'OpenSim/Data/NHibernate/Resources/SQLiteDialect/001_UserStore.sql')
-rw-r--r--OpenSim/Data/NHibernate/Resources/SQLiteDialect/001_UserStore.sql79
1 files changed, 79 insertions, 0 deletions
diff --git a/OpenSim/Data/NHibernate/Resources/SQLiteDialect/001_UserStore.sql b/OpenSim/Data/NHibernate/Resources/SQLiteDialect/001_UserStore.sql
new file mode 100644
index 0000000..8d1ba5c
--- /dev/null
+++ b/OpenSim/Data/NHibernate/Resources/SQLiteDialect/001_UserStore.sql
@@ -0,0 +1,79 @@
1BEGIN TRANSACTION;
2
3create table UserAgents (
4 ProfileID TEXT not null,
5 AgentIP TEXT,
6 AgentPort INTEGER,
7 AgentOnline INTEGER,
8 SessionID TEXT,
9 SecureSessionID TEXT,
10 InitialRegion TEXT,
11 Region TEXT,
12 LoginTime INTEGER,
13 LogoutTime INTEGER,
14 Handle INTEGER,
15 primary key (ProfileID)
16);
17create table UserProfiles (
18 ID TEXT not null,
19 FirstName TEXT,
20 SurName TEXT,
21 PasswordHash TEXT,
22 PasswordSalt TEXT,
23 WebLoginKey TEXT,
24 HomeRegionX INTEGER,
25 HomeRegionY INTEGER,
26 HomeLocationX NUMERIC,
27 HomeLocationY NUMERIC,
28 HomeLocationZ NUMERIC,
29 HomeLookAtX NUMERIC,
30 HomeLookAtY NUMERIC,
31 HomeLookAtZ NUMERIC,
32 Created INTEGER,
33 LastLogin INTEGER,
34 RootInventoryFolderID TEXT,
35 UserInventoryURI TEXT,
36 UserAssetURI TEXT,
37 Image TEXT,
38 FirstLifeImage TEXT,
39 AboutText TEXT,
40 FirstLifeAboutText TEXT,
41 primary key (ID)
42);
43create table UserAppearances (
44 Owner TEXT not null,
45 BodyItem TEXT,
46 BodyAsset TEXT,
47 SkinItem TEXT,
48 SkinAsset TEXT,
49 HairItem TEXT,
50 HairAsset TEXT,
51 EyesItem TEXT,
52 EyesAsset TEXT,
53 ShirtItem TEXT,
54 ShirtAsset TEXT,
55 PantsItem TEXT,
56 PantsAsset TEXT,
57 ShoesItem TEXT,
58 ShoesAsset TEXT,
59 SocksItem TEXT,
60 SocksAsset TEXT,
61 JacketItem TEXT,
62 JacketAsset TEXT,
63 GlovesItem TEXT,
64 GlovesAsset TEXT,
65 UnderShirtItem TEXT,
66 UnderShirtAsset TEXT,
67 UnderPantsItem TEXT,
68 UnderPantsAsset TEXT,
69 SkirtItem TEXT,
70 SkirtAsset TEXT,
71 Texture BLOB,
72 VisualParams BLOB,
73 Serial INTEGER,
74 primary key (Owner)
75);
76create index user_firstname on UserProfiles (FirstName);
77create index user_surname on UserProfiles (SurName);
78
79COMMIT; \ No newline at end of file