2021-07-13 09:19:39 +00:00
|
|
|
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,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-07-23 00:14:45 +00:00
|
|
|
table! {
|
|
|
|
doc_table (id) {
|
|
|
|
id -> Text,
|
|
|
|
name -> Text,
|
|
|
|
desc -> Text,
|
|
|
|
path -> Text,
|
|
|
|
modified_time -> BigInt,
|
|
|
|
create_time -> BigInt,
|
|
|
|
version -> BigInt,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-07-09 08:34:50 +00:00
|
|
|
table! {
|
|
|
|
user_table (id) {
|
|
|
|
id -> Text,
|
|
|
|
name -> Text,
|
|
|
|
password -> Text,
|
|
|
|
email -> Text,
|
2021-07-14 13:12:52 +00:00
|
|
|
workspace -> Text,
|
2021-07-09 08:34:50 +00:00
|
|
|
}
|
|
|
|
}
|
2021-07-13 09:19:39 +00:00
|
|
|
|
|
|
|
table! {
|
|
|
|
view_table (id) {
|
|
|
|
id -> Text,
|
2021-07-28 05:41:39 +00:00
|
|
|
belong_to_id -> Text,
|
2021-07-13 09:19:39 +00:00
|
|
|
name -> Text,
|
|
|
|
desc -> Text,
|
|
|
|
modified_time -> BigInt,
|
|
|
|
create_time -> BigInt,
|
|
|
|
thumbnail -> Text,
|
|
|
|
view_type -> Integer,
|
|
|
|
version -> BigInt,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
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,
|
2021-07-23 00:14:45 +00:00
|
|
|
doc_table,
|
2021-07-13 09:19:39 +00:00
|
|
|
user_table,
|
|
|
|
view_table,
|
|
|
|
workspace_table,
|
|
|
|
);
|