aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Data/SQLiteNG/Resources/001_InventoryStore.sql
blob: 554d5c2ec81069c2357cb550d6d6f1e8a2978f7f (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
BEGIN TRANSACTION;

CREATE TABLE inventoryfolders(
       UUID varchar(255) primary key,
       name varchar(255),
       agentID varchar(255),
       parentID varchar(255),
       type integer,
       version integer);

CREATE TABLE inventoryitems(
       UUID varchar(255) primary key,
       assetID varchar(255),
       assetType integer,
       invType integer,
       parentFolderID varchar(255),
       avatarID varchar(255),
       creatorsID varchar(255),
       inventoryName varchar(255),
       inventoryDescription varchar(255),
       inventoryNextPermissions integer,
       inventoryCurrentPermissions integer,
       inventoryBasePermissions integer,
       inventoryEveryOnePermissions integer, 
       salePrice integer default 99, 
       saleType integer default 0, 
       creationDate integer default 2000, 
       groupID varchar(255) default '00000000-0000-0000-0000-000000000000', 
       groupOwned integer default 0, 
       flags integer default 0);

COMMIT;