aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/SQLite/Resources/001_UserStore.sql
blob: 070e34015519f6e466385a651d33e9ebde0767fe (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
BEGIN TRANSACTION;

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');

CREATE TABLE userfriends(
        ownerID varchar(255),
        friendID varchar(255),
        friendPerms integer,
        ownerPerms integer,
        datetimestamp integer);

COMMIT;