1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
|
BEGIN TRANSACTION;
create table UserAgents (
ProfileID TEXT not null,
AgentIP TEXT,
AgentPort INTEGER,
AgentOnline INTEGER,
SessionID TEXT,
SecureSessionID TEXT,
InitialRegion TEXT,
Region TEXT,
LoginTime INTEGER,
LogoutTime INTEGER,
Handle INTEGER,
primary key (ProfileID)
);
create table UserProfiles (
ID TEXT not null,
FirstName TEXT,
SurName TEXT,
PasswordHash TEXT,
PasswordSalt TEXT,
WebLoginKey TEXT,
HomeRegionX INTEGER,
HomeRegionY INTEGER,
HomeLocationX NUMERIC,
HomeLocationY NUMERIC,
HomeLocationZ NUMERIC,
HomeLookAtX NUMERIC,
HomeLookAtY NUMERIC,
HomeLookAtZ NUMERIC,
Created INTEGER,
LastLogin INTEGER,
RootInventoryFolderID TEXT,
UserInventoryURI TEXT,
UserAssetURI TEXT,
Image TEXT,
FirstLifeImage TEXT,
AboutText TEXT,
FirstLifeAboutText TEXT,
primary key (ID)
);
create table UserAppearances (
Owner TEXT not null,
BodyItem TEXT,
BodyAsset TEXT,
SkinItem TEXT,
SkinAsset TEXT,
HairItem TEXT,
HairAsset TEXT,
EyesItem TEXT,
EyesAsset TEXT,
ShirtItem TEXT,
ShirtAsset TEXT,
PantsItem TEXT,
PantsAsset TEXT,
ShoesItem TEXT,
ShoesAsset TEXT,
SocksItem TEXT,
SocksAsset TEXT,
JacketItem TEXT,
JacketAsset TEXT,
GlovesItem TEXT,
GlovesAsset TEXT,
UnderShirtItem TEXT,
UnderShirtAsset TEXT,
UnderPantsItem TEXT,
UnderPantsAsset TEXT,
SkirtItem TEXT,
SkirtAsset TEXT,
Texture BLOB,
VisualParams BLOB,
Serial INTEGER,
primary key (Owner)
);
create index user_firstname on UserProfiles (FirstName);
create index user_surname on UserProfiles (SurName);
COMMIT;
|