1
0

001_UserAccount.sql 421 B

1234567891011121314151617
  1. BEGIN TRANSACTION;
  2. -- useraccounts table
  3. CREATE TABLE UserAccounts (
  4. PrincipalID CHAR(36) primary key,
  5. ScopeID CHAR(36) NOT NULL,
  6. FirstName VARCHAR(64) NOT NULL,
  7. LastName VARCHAR(64) NOT NULL,
  8. Email VARCHAR(64),
  9. ServiceURLs TEXT,
  10. Created INT(11),
  11. UserLevel integer NOT NULL DEFAULT 0,
  12. UserFlags integer NOT NULL DEFAULT 0,
  13. UserTitle varchar(64) NOT NULL DEFAULT ''
  14. );
  15. COMMIT;