table! {
community (id) {
id -> Int4,
name -> Varchar,
published -> Timestamp,
updated -> Nullable<Timestamp>,
}
community_follower (id) {
community_id -> Int4,
fedi_user_id -> Text,
community_user (id) {
post (id) {
url -> Text,
attributed_to -> Text,
post_dislike (id) {
post_id -> Nullable<Int4>,
post_like (id) {
user_ (id) {
preferred_username -> Nullable<Varchar>,
password_encrypted -> Text,
email -> Nullable<Text>,
icon -> Nullable<Bytea>,
joinable!(community_follower -> community (community_id));
joinable!(community_user -> community (community_id));
joinable!(post_dislike -> post (post_id));
joinable!(post_like -> post (post_id));
allow_tables_to_appear_in_same_query!(
community,
community_follower,
community_user,
post,
post_dislike,
post_like,
user_,
);