X-Git-Url: http://these/git/?a=blobdiff_plain;f=crates%2Fdb_schema%2Fsrc%2Fschema.rs;h=811e8b09a984fe4f9480a47dd477872121f4134c;hb=7f9b55e7935f6093895734b1a45ec128d2cb2a33;hp=b93cd4e728e91a045abec1065dbd0212f9998ec8;hpb=762b85b27e812856f65933a182188e7102617aae;p=lemmy.git diff --git a/crates/db_schema/src/schema.rs b/crates/db_schema/src/schema.rs index b93cd4e7..811e8b09 100644 --- a/crates/db_schema/src/schema.rs +++ b/crates/db_schema/src/schema.rs @@ -93,6 +93,7 @@ table! { followers_url -> Varchar, inbox_url -> Varchar, shared_inbox_url -> Nullable, + hidden -> Bool, } } @@ -593,6 +594,17 @@ table! { } } +table! { + mod_hide_community (id) { + id -> Int4, + community_id -> Int4, + mod_person_id -> Int4, + reason -> Nullable, + hidden -> Nullable, + when_ -> Timestamp, + } +} + joinable!(comment_alias_1 -> person_alias_1 (creator_id)); joinable!(comment -> comment_alias_1 (parent_id)); joinable!(person_mention -> person_alias_1 (recipient_id)); @@ -656,6 +668,8 @@ joinable!(site_aggregates -> site (site_id)); joinable!(email_verification -> local_user (local_user_id)); joinable!(registration_application -> local_user (local_user_id)); joinable!(registration_application -> person (admin_id)); +joinable!(mod_hide_community -> person (mod_person_id)); +joinable!(mod_hide_community -> community (community_id)); allow_tables_to_appear_in_same_query!( activity, @@ -681,6 +695,7 @@ allow_tables_to_appear_in_same_query!( mod_remove_community, mod_remove_post, mod_sticky_post, + mod_hide_community, password_reset_request, person, person_aggregates,