Skip to main content

radicle_feed/
schema.rs

1// @generated automatically by Diesel CLI.
2
3diesel::table! {
4    activity_feed_operations (id) {
5        id -> Int4,
6        rid -> Text,
7        repo_alias -> Nullable<Text>,
8        operation_id -> Text,
9        cob_title -> Text,
10        cob_status -> Text,
11        author -> Text,
12        author_alias -> Nullable<Text>,
13        actions -> Array<Jsonb>,
14        created_at -> Int4,
15        typename -> Text,
16    }
17}
18
19diesel::table! {
20    activity_feed_timeline (id) {
21        id -> Int4,
22        repo -> Text,
23        node -> Text,
24        cob_id -> Text,
25        typename -> Text,
26        last_operation_id -> Nullable<Text>,
27        operations -> Array<Text>,
28    }
29}
30
31diesel::table! {
32    operations_with_timeline (id) {
33        id -> Int4,
34        rid -> Text,
35        repo_alias -> Nullable<Text>,
36        operation_id -> Text,
37        cob_title -> Text,
38        cob_status -> Text,
39        author -> Text,
40        author_alias -> Nullable<Text>,
41        actions -> Array<Jsonb>,
42        created_at -> Int4,
43        typename -> Text,
44        timeline_id -> Int4,
45        timeline_repo -> Text,
46        timeline_node -> Text,
47        timeline_cob_id -> Text,
48        timeline_typename -> Text,
49        position_in_timeline -> Int4,
50    }
51}
52
53diesel::table! {
54    node (id) {
55        id -> Int4,
56        did -> Text,
57        alias -> Text,
58        ssh_public_key -> Text,
59        home_path -> Nullable<Text>,
60        node_id -> Text,
61        created_at -> Timestamptz,
62        deleted_at -> Nullable<Timestamptz>,
63        external -> Bool,
64        connect_address -> Nullable<Text>,
65        user_id -> Int4,
66    }
67}
68
69diesel::table! {
70    seeded_radicle_repository (id) {
71        id -> Int4,
72        repository_id -> Text,
73        seeding -> Bool,
74        seeding_start -> Timestamptz,
75        seeding_end -> Nullable<Timestamptz>,
76        node_id -> Int4,
77        alias -> Nullable<Text>,
78    }
79}
80
81diesel::table! {
82    user (id) {
83        id -> Int4,
84        email -> Text,
85        email_verified -> Bool,
86        password_hash -> Nullable<Text>,
87        auth_method -> Text,
88        oauth2_provider -> Nullable<Text>,
89        oauth2_external_id -> Text,
90        created_at -> Timestamptz,
91        github_account_id -> Nullable<Int4>,
92        deleted_at -> Nullable<Timestamptz>,
93        handle -> Text,
94        description -> Nullable<Text>,
95        avatar_img -> Nullable<Text>,
96        banner_img -> Nullable<Text>,
97    }
98}
99
100diesel::joinable!(node -> user (user_id));
101diesel::joinable!(seeded_radicle_repository -> node (node_id));
102
103diesel::allow_tables_to_appear_in_same_query!(
104    activity_feed_operations,
105    activity_feed_timeline,
106    node,
107    seeded_radicle_repository,
108    user,
109);