aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/SQLiteNG/Resources/001_UserStore.sql
blob: b584594ced777e2b5cb9c130062e88ff36b9cd66 (plain)
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
BEGIN TRANSACTION;

-- users table
CREATE TABLE users(
       UUID varchar(255) primary key,
       username varchar(255),
       surname varchar(255),
       passwordHash varchar(255),
       passwordSalt varchar(255),
       homeRegionX integer,
       homeRegionY integer,
       homeLocationX float,
       homeLocationY float,
       homeLocationZ float,
       homeLookAtX float,
       homeLookAtY float,
       homeLookAtZ float,
       created integer,
       lastLogin integer,
       rootInventoryFolderID varchar(255),
       userInventoryURI varchar(255),
       userAssetURI varchar(255),
       profileCanDoMask integer,
       profileWantDoMask integer,
       profileAboutText varchar(255),
       profileFirstText varchar(255),
       profileImage varchar(255),
       profileFirstImage varchar(255), 
       webLoginKey text default '00000000-0000-0000-0000-000000000000');
-- friends table
CREATE TABLE userfriends(
       ownerID varchar(255),
       friendID varchar(255),
       friendPerms integer,
       ownerPerms integer,
       datetimestamp integer);

COMMIT;