schema.rs 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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. data -> Text,
  19. version -> BigInt,
  20. }
  21. }
  22. table! {
  23. user_table (id) {
  24. id -> Text,
  25. name -> Text,
  26. token -> Text,
  27. email -> Text,
  28. workspace -> Text,
  29. }
  30. }
  31. table! {
  32. view_table (id) {
  33. id -> Text,
  34. belong_to_id -> Text,
  35. name -> Text,
  36. desc -> Text,
  37. modified_time -> BigInt,
  38. create_time -> BigInt,
  39. thumbnail -> Text,
  40. view_type -> Integer,
  41. version -> BigInt,
  42. is_trash -> Bool,
  43. }
  44. }
  45. table! {
  46. workspace_table (id) {
  47. id -> Text,
  48. name -> Text,
  49. desc -> Text,
  50. modified_time -> BigInt,
  51. create_time -> BigInt,
  52. user_id -> Text,
  53. version -> BigInt,
  54. }
  55. }
  56. allow_tables_to_appear_in_same_query!(app_table, doc_table, user_table, view_table, workspace_table,);