001_UserStore.sql 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. BEGIN TRANSACTION;
  2. CREATE TABLE users(
  3. UUID varchar(255) primary key,
  4. username varchar(255),
  5. surname varchar(255),
  6. passwordHash varchar(255),
  7. passwordSalt varchar(255),
  8. homeRegionX integer,
  9. homeRegionY integer,
  10. homeLocationX float,
  11. homeLocationY float,
  12. homeLocationZ float,
  13. homeLookAtX float,
  14. homeLookAtY float,
  15. homeLookAtZ float,
  16. created integer,
  17. lastLogin integer,
  18. rootInventoryFolderID varchar(255),
  19. userInventoryURI varchar(255),
  20. userAssetURI varchar(255),
  21. profileCanDoMask integer,
  22. profileWantDoMask integer,
  23. profileAboutText varchar(255),
  24. profileFirstText varchar(255),
  25. profileImage varchar(255),
  26. profileFirstImage varchar(255),
  27. webLoginKey text default '00000000-0000-0000-0000-000000000000');
  28. CREATE TABLE userfriends(
  29. ownerID varchar(255),
  30. friendID varchar(255),
  31. friendPerms integer,
  32. ownerPerms integer,
  33. datetimestamp integer);
  34. COMMIT;