schema.rs 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. // @generated automatically by Diesel CLI.
  2. diesel::table! {
  3. collab_snapshot (id) {
  4. id -> Text,
  5. object_id -> Text,
  6. title -> Text,
  7. desc -> Text,
  8. collab_type -> Text,
  9. timestamp -> BigInt,
  10. data -> Binary,
  11. }
  12. }
  13. diesel::table! {
  14. user_data_migration_records (id) {
  15. id -> Integer,
  16. migration_name -> Text,
  17. executed_at -> Timestamp,
  18. }
  19. }
  20. diesel::table! {
  21. user_table (id) {
  22. id -> Text,
  23. name -> Text,
  24. workspace -> Text,
  25. icon_url -> Text,
  26. openai_key -> Text,
  27. token -> Text,
  28. email -> Text,
  29. auth_type -> Integer,
  30. encryption_type -> Text,
  31. }
  32. }
  33. diesel::table! {
  34. user_workspace_table (id) {
  35. id -> Text,
  36. name -> Text,
  37. uid -> BigInt,
  38. created_at -> BigInt,
  39. database_storage_id -> Text,
  40. }
  41. }
  42. diesel::allow_tables_to_appear_in_same_query!(
  43. collab_snapshot,
  44. user_data_migration_records,
  45. user_table,
  46. user_workspace_table,
  47. );