first bits of updating sqlite to definition based on new objects
parent
86da47dc4e
commit
9abe102fc2
|
@ -1,14 +1,21 @@
|
||||||
--
|
--
|
||||||
-- Database schema for local prim storage
|
-- Database schema for local prim storage
|
||||||
--
|
--
|
||||||
|
--
|
||||||
|
-- Some type mappings
|
||||||
|
-- LLUID => char(36) (in ascii hex format)
|
||||||
|
-- uint => integer
|
||||||
|
|
||||||
create table prims (
|
create table prims (
|
||||||
id integer primary key autoincrement,
|
id integer primary key autoincrement, -- this.LocalID
|
||||||
ParentID integer default 0,
|
ParentID integer default 0, -- this.ParentID
|
||||||
FullID char(36),
|
UUID char(36), -- this.UUID
|
||||||
CreationDate integer,
|
CreationDate integer, -- this.CreationDate
|
||||||
|
Name varchar(256),
|
||||||
-- permissions
|
-- permissions
|
||||||
|
CreatorID char(36),
|
||||||
OwnerID char(36),
|
OwnerID char(36),
|
||||||
|
GroupID char(36),
|
||||||
LastOwnerID char(36),
|
LastOwnerID char(36),
|
||||||
OwnerMask integer,
|
OwnerMask integer,
|
||||||
NextOwnerMask integer,
|
NextOwnerMask integer,
|
||||||
|
|
Loading…
Reference in New Issue