001_InventoryStore.sql 988 B

1234567891011121314151617181920212223242526272829303132
  1. BEGIN TRANSACTION;
  2. CREATE TABLE inventoryfolders(
  3. UUID varchar(255) primary key,
  4. name varchar(255),
  5. agentID varchar(255),
  6. parentID varchar(255),
  7. type integer,
  8. version integer);
  9. CREATE TABLE inventoryitems(
  10. UUID varchar(255) primary key,
  11. assetID varchar(255),
  12. assetType integer,
  13. invType integer,
  14. parentFolderID varchar(255),
  15. avatarID varchar(255),
  16. creatorsID varchar(255),
  17. inventoryName varchar(255),
  18. inventoryDescription varchar(255),
  19. inventoryNextPermissions integer,
  20. inventoryCurrentPermissions integer,
  21. inventoryBasePermissions integer,
  22. inventoryEveryOnePermissions integer,
  23. salePrice integer default 99,
  24. saleType integer default 0,
  25. creationDate integer default 2000,
  26. groupID varchar(255) default '00000000-0000-0000-0000-000000000000',
  27. groupOwned integer default 0,
  28. flags integer default 0);
  29. COMMIT;