7 published -> Timestamp,
8 updated -> Nullable<Timestamp>,
24 parent_id -> Nullable<Int4>,
28 published -> Timestamp,
29 updated -> Nullable<Timestamp>,
43 published -> Timestamp,
52 published -> Timestamp,
61 description -> Nullable<Text>,
65 published -> Timestamp,
66 updated -> Nullable<Timestamp>,
71 private_key -> Nullable<Text>,
72 public_key -> Nullable<Text>,
73 last_refreshed_at -> Timestamp,
78 community_follower (id) {
82 published -> Timestamp,
87 community_moderator (id) {
91 published -> Timestamp,
96 community_user_ban (id) {
100 published -> Timestamp,
108 other_user_id -> Int4,
109 removed -> Nullable<Bool>,
115 mod_add_community (id) {
118 other_user_id -> Int4,
119 community_id -> Int4,
120 removed -> Nullable<Bool>,
129 other_user_id -> Int4,
130 reason -> Nullable<Text>,
131 banned -> Nullable<Bool>,
132 expires -> Nullable<Timestamp>,
138 mod_ban_from_community (id) {
141 other_user_id -> Int4,
142 community_id -> Int4,
143 reason -> Nullable<Text>,
144 banned -> Nullable<Bool>,
145 expires -> Nullable<Timestamp>,
155 locked -> Nullable<Bool>,
161 mod_remove_comment (id) {
165 reason -> Nullable<Text>,
166 removed -> Nullable<Bool>,
172 mod_remove_community (id) {
175 community_id -> Int4,
176 reason -> Nullable<Text>,
177 removed -> Nullable<Bool>,
178 expires -> Nullable<Timestamp>,
184 mod_remove_post (id) {
188 reason -> Nullable<Text>,
189 removed -> Nullable<Bool>,
195 mod_sticky_post (id) {
199 stickied -> Nullable<Bool>,
205 password_reset_request (id) {
208 token_encrypted -> Text,
209 published -> Timestamp,
217 url -> Nullable<Text>,
218 body -> Nullable<Text>,
220 community_id -> Int4,
223 published -> Timestamp,
224 updated -> Nullable<Timestamp>,
228 embed_title -> Nullable<Text>,
229 embed_description -> Nullable<Text>,
230 embed_html -> Nullable<Text>,
231 thumbnail_url -> Nullable<Text>,
243 published -> Timestamp,
252 published -> Timestamp,
261 published -> Timestamp,
266 private_message (id) {
269 recipient_id -> Int4,
273 published -> Timestamp,
274 updated -> Nullable<Timestamp>,
282 description -> Nullable<Text>,
284 published -> Timestamp,
285 updated -> Nullable<Timestamp>,
286 enable_downvotes -> Bool,
287 open_registration -> Bool,
296 preferred_username -> Nullable<Varchar>,
297 password_encrypted -> Text,
298 email -> Nullable<Text>,
299 avatar -> Nullable<Text>,
302 published -> Timestamp,
303 updated -> Nullable<Timestamp>,
306 default_sort_type -> Int2,
307 default_listing_type -> Int2,
309 show_avatars -> Bool,
310 send_notifications_to_email -> Bool,
311 matrix_user_id -> Nullable<Text>,
313 bio -> Nullable<Text>,
315 private_key -> Nullable<Text>,
316 public_key -> Nullable<Text>,
317 last_refreshed_at -> Timestamp,
325 published -> Timestamp,
332 recipient_id -> Int4,
335 published -> Timestamp,
339 joinable!(activity -> user_ (user_id));
340 joinable!(comment -> post (post_id));
341 joinable!(comment -> user_ (creator_id));
342 joinable!(comment_like -> comment (comment_id));
343 joinable!(comment_like -> post (post_id));
344 joinable!(comment_like -> user_ (user_id));
345 joinable!(comment_saved -> comment (comment_id));
346 joinable!(comment_saved -> user_ (user_id));
347 joinable!(community -> category (category_id));
348 joinable!(community -> user_ (creator_id));
349 joinable!(community_follower -> community (community_id));
350 joinable!(community_follower -> user_ (user_id));
351 joinable!(community_moderator -> community (community_id));
352 joinable!(community_moderator -> user_ (user_id));
353 joinable!(community_user_ban -> community (community_id));
354 joinable!(community_user_ban -> user_ (user_id));
355 joinable!(mod_add_community -> community (community_id));
356 joinable!(mod_ban_from_community -> community (community_id));
357 joinable!(mod_lock_post -> post (post_id));
358 joinable!(mod_lock_post -> user_ (mod_user_id));
359 joinable!(mod_remove_comment -> comment (comment_id));
360 joinable!(mod_remove_comment -> user_ (mod_user_id));
361 joinable!(mod_remove_community -> community (community_id));
362 joinable!(mod_remove_community -> user_ (mod_user_id));
363 joinable!(mod_remove_post -> post (post_id));
364 joinable!(mod_remove_post -> user_ (mod_user_id));
365 joinable!(mod_sticky_post -> post (post_id));
366 joinable!(mod_sticky_post -> user_ (mod_user_id));
367 joinable!(password_reset_request -> user_ (user_id));
368 joinable!(post -> community (community_id));
369 joinable!(post -> user_ (creator_id));
370 joinable!(post_like -> post (post_id));
371 joinable!(post_like -> user_ (user_id));
372 joinable!(post_read -> post (post_id));
373 joinable!(post_read -> user_ (user_id));
374 joinable!(post_saved -> post (post_id));
375 joinable!(post_saved -> user_ (user_id));
376 joinable!(site -> user_ (creator_id));
377 joinable!(user_ban -> user_ (user_id));
378 joinable!(user_mention -> comment (comment_id));
379 joinable!(user_mention -> user_ (recipient_id));
381 allow_tables_to_appear_in_same_query!(
394 mod_ban_from_community,
397 mod_remove_community,
400 password_reset_request,