1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192 |
- table! {
- app_table (id) {
- id -> Text,
- workspace_id -> Text,
- name -> Text,
- desc -> Text,
- color_style -> Binary,
- last_view_id -> Nullable<Text>,
- modified_time -> BigInt,
- create_time -> BigInt,
- version -> BigInt,
- is_trash -> Bool,
- }
- }
- table! {
- doc_table (id) {
- id -> Text,
- data -> Text,
- rev_id -> BigInt,
- }
- }
- table! {
- rev_table (id) {
- id -> Integer,
- doc_id -> Text,
- base_rev_id -> BigInt,
- rev_id -> BigInt,
- data -> Binary,
- state -> Integer,
- ty -> Integer,
- }
- }
- table! {
- trash_table (id) {
- id -> Text,
- name -> Text,
- desc -> Text,
- modified_time -> BigInt,
- create_time -> BigInt,
- ty -> Integer,
- }
- }
- table! {
- user_table (id) {
- id -> Text,
- name -> Text,
- token -> Text,
- email -> Text,
- workspace -> Text,
- }
- }
- table! {
- view_table (id) {
- id -> Text,
- belong_to_id -> Text,
- name -> Text,
- desc -> Text,
- modified_time -> BigInt,
- create_time -> BigInt,
- thumbnail -> Text,
- view_type -> Integer,
- version -> BigInt,
- is_trash -> Bool,
- }
- }
- table! {
- workspace_table (id) {
- id -> Text,
- name -> Text,
- desc -> Text,
- modified_time -> BigInt,
- create_time -> BigInt,
- user_id -> Text,
- version -> BigInt,
- }
- }
- allow_tables_to_appear_in_same_query!(
- app_table,
- doc_table,
- rev_table,
- trash_table,
- user_table,
- view_table,
- workspace_table,
- );
|