Skip to main content

max / makenotwork

686 B · 37 lines History Blame Raw
1 //! Database write mutations, inserts, updates, deletes.
2
3 use chrono::{DateTime, Utc};
4 use mt_core::types::{BanType, CommunityRole, CommunityState, ModAction, ModActor};
5 use sqlx::PgPool;
6 use uuid::Uuid;
7
8 mod category;
9 mod community;
10 mod endorsement;
11 mod footnote;
12 mod image;
13 mod link_preview;
14 mod member;
15 mod mention;
16 mod moderation;
17 mod post;
18 mod tag;
19 mod thread;
20 mod tracked_thread;
21 mod user;
22
23 pub use category::*;
24 pub use community::*;
25 pub use endorsement::*;
26 pub use footnote::*;
27 pub use image::*;
28 pub use link_preview::*;
29 pub use member::*;
30 pub use mention::*;
31 pub use moderation::*;
32 pub use post::*;
33 pub use tag::*;
34 pub use thread::*;
35 pub use tracked_thread::*;
36 pub use user::*;
37