AgentPrefs.migrations 987 B

123456789101112131415161718192021222324252627282930313233343536
  1. :VERSION 1
  2. BEGIN TRANSACTION;
  3. CREATE TABLE `AgentPrefs` (
  4. `PrincipalID` CHAR(36) NOT NULL,
  5. `AccessPrefs` CHAR(2) NOT NULL DEFAULT 'M',
  6. `HoverHeight` DOUBLE(30, 27) NOT NULL DEFAULT 0,
  7. `Language` CHAR(5) NOT NULL DEFAULT 'en-us',
  8. `LanguageIsPublic` BOOLEAN NOT NULL DEFAULT 1,
  9. `PermEveryone` INT(6) NOT NULL DEFAULT 0,
  10. `PermGroup` INT(6) NOT NULL DEFAULT 0,
  11. `PermNextOwner` INT(6) NOT NULL DEFAULT 532480,
  12. UNIQUE (`PrincipalID`),
  13. PRIMARY KEY(`PrincipalID`));
  14. COMMIT;
  15. :VERSION 2
  16. BEGIN;
  17. CREATE TABLE AgentPrefs(
  18. PrincipalID CHAR(36) NOT NULL,
  19. AccessPrefs CHAR(2) NOT NULL DEFAULT 'M',
  20. HoverHeight DOUBLE(30, 27) NOT NULL DEFAULT 0,
  21. Language CHAR(5) NOT NULL DEFAULT 'en-us',
  22. LanguageIsPublic BOOLEAN NOT NULL DEFAULT 1,
  23. PermEveryone INT(6) NOT NULL DEFAULT 0,
  24. PermGroup INT(6) NOT NULL DEFAULT 0,
  25. PermNextOwner INT(6) NOT NULL DEFAULT 532480,
  26. UNIQUE(PrincipalID),
  27. PRIMARY KEY(PrincipalID)
  28. );
  29. COMMIT;