schema.rs 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. table! {
  2. app_table (id) {
  3. id -> Text,
  4. workspace_id -> Text,
  5. name -> Text,
  6. desc -> Text,
  7. color_style -> Binary,
  8. last_view_id -> Nullable<Text>,
  9. modified_time -> BigInt,
  10. create_time -> BigInt,
  11. version -> BigInt,
  12. is_trash -> Bool,
  13. }
  14. }
  15. table! {
  16. doc_table (id) {
  17. id -> Text,
  18. name -> Text,
  19. desc -> Text,
  20. path -> Text,
  21. modified_time -> BigInt,
  22. create_time -> BigInt,
  23. version -> BigInt,
  24. }
  25. }
  26. table! {
  27. user_table (id) {
  28. id -> Text,
  29. name -> Text,
  30. password -> Text,
  31. email -> Text,
  32. workspace -> Text,
  33. }
  34. }
  35. table! {
  36. view_table (id) {
  37. id -> Text,
  38. belong_to_id -> Text,
  39. name -> Text,
  40. desc -> Text,
  41. modified_time -> BigInt,
  42. create_time -> BigInt,
  43. thumbnail -> Text,
  44. view_type -> Integer,
  45. version -> BigInt,
  46. is_trash -> Bool,
  47. }
  48. }
  49. table! {
  50. workspace_table (id) {
  51. id -> Text,
  52. name -> Text,
  53. desc -> Text,
  54. modified_time -> BigInt,
  55. create_time -> BigInt,
  56. user_id -> Text,
  57. version -> BigInt,
  58. }
  59. }
  60. allow_tables_to_appear_in_same_query!(
  61. app_table,
  62. doc_table,
  63. user_table,
  64. view_table,
  65. workspace_table,
  66. );