diesel::table! {
activity_feed_operations (id) {
id -> Int4,
rid -> Text,
repo_alias -> Nullable<Text>,
operation_id -> Text,
cob_title -> Text,
cob_status -> Text,
author -> Text,
author_alias -> Nullable<Text>,
actions -> Array<Jsonb>,
created_at -> Int4,
typename -> Text,
}
}
diesel::table! {
activity_feed_timeline (id) {
id -> Int4,
repo -> Text,
node -> Text,
cob_id -> Text,
typename -> Text,
last_operation_id -> Nullable<Text>,
operations -> Array<Text>,
}
}
diesel::table! {
operations_with_timeline (id) {
id -> Int4,
rid -> Text,
repo_alias -> Nullable<Text>,
operation_id -> Text,
cob_title -> Text,
cob_status -> Text,
author -> Text,
author_alias -> Nullable<Text>,
actions -> Array<Jsonb>,
created_at -> Int4,
typename -> Text,
timeline_id -> Int4,
timeline_repo -> Text,
timeline_node -> Text,
timeline_cob_id -> Text,
timeline_typename -> Text,
position_in_timeline -> Int4,
}
}
diesel::table! {
node (id) {
id -> Int4,
did -> Text,
alias -> Text,
ssh_public_key -> Text,
home_path -> Nullable<Text>,
node_id -> Text,
created_at -> Timestamptz,
deleted_at -> Nullable<Timestamptz>,
external -> Bool,
connect_address -> Nullable<Text>,
user_id -> Int4,
}
}
diesel::table! {
seeded_radicle_repository (id) {
id -> Int4,
repository_id -> Text,
seeding -> Bool,
seeding_start -> Timestamptz,
seeding_end -> Nullable<Timestamptz>,
node_id -> Int4,
alias -> Nullable<Text>,
}
}
diesel::table! {
user (id) {
id -> Int4,
email -> Text,
email_verified -> Bool,
password_hash -> Nullable<Text>,
auth_method -> Text,
oauth2_provider -> Nullable<Text>,
oauth2_external_id -> Text,
created_at -> Timestamptz,
github_account_id -> Nullable<Int4>,
deleted_at -> Nullable<Timestamptz>,
handle -> Text,
description -> Nullable<Text>,
avatar_img -> Nullable<Text>,
banner_img -> Nullable<Text>,
}
}
diesel::joinable!(node -> user (user_id));
diesel::joinable!(seeded_radicle_repository -> node (node_id));
diesel::allow_tables_to_appear_in_same_query!(
activity_feed_operations,
activity_feed_timeline,
node,
seeded_radicle_repository,
user,
);