This repository has been archived on 2023-07-04. You can view files and clone it, but cannot push or open issues/pull-requests.
blog/src/db/mod.rs

9 lines
277 B
Rust
Raw Normal View History

2021-11-23 09:32:08 +01:00
//! 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 use posts::{NewPost, PatchPost, Post};
2021-11-23 20:21:29 +01:00
pub use sections::{NewSection, PatchSection, Section};