sql.txt 913 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. CREATE TABLE eventlog(
  2. user TEXT,
  3. realm TEXT,
  4. sessionid TEXT COLLATE NOCASE,
  5. timestamp TEXT,
  6. notes TEXT,
  7. dump TEXT,
  8. addr TEXT
  9. );
  10. CREATE TABLE sessions(
  11. timestamp TEXT,
  12. id TEXT COLLATE NOCASE,
  13. user TEXT,
  14. realm TEXT,
  15. password TEXT,
  16. machine_managed BOOLEAN,
  17. operation INTEGER,
  18. type TEXT,
  19. pps TEXT,
  20. redirect_uri TEXT,
  21. devinfo TEXT,
  22. devdetail TEXT,
  23. cert TEXT,
  24. cert_pem TEXT
  25. );
  26. CREATE index sessions_id_index ON sessions(id);
  27. CREATE TABLE osu_config(
  28. realm TEXT,
  29. field TEXT,
  30. value TEXT
  31. );
  32. CREATE TABLE users(
  33. identity TEXT PRIMARY KEY,
  34. methods TEXT,
  35. password TEXT,
  36. machine_managed BOOLEAN,
  37. remediation TEXT,
  38. phase2 INTEGER,
  39. realm TEXT,
  40. policy TEXT,
  41. devinfo TEXT,
  42. devdetail TEXT,
  43. pps TEXT,
  44. fetch_pps INTEGER,
  45. osu_user TEXT,
  46. osu_password TEXT,
  47. shared INTEGER,
  48. cert TEXT,
  49. cert_pem TEXT
  50. );
  51. CREATE TABLE wildcards(
  52. identity TEXT PRIMARY KEY,
  53. methods TEXT
  54. );