12 lines
332 B
Rust
12 lines
332 B
Rust
//! The db module contains all Diesel-related logic. This is to prevent the various Diesel imports
|
|
//! from poluting other modules' namespaces.
|
|
|
|
pub mod posts;
|
|
pub mod sections;
|
|
pub mod tokens;
|
|
pub mod users;
|
|
|
|
pub use sections::{NewSection, Section};
|
|
pub use tokens::{NewRefreshToken, RefreshToken};
|
|
pub use users::{NewUser, User};
|