]> Untitled Git - lemmy.git/blob - lemmy_db_schema/src/lib.rs
Merge pull request #1328 from LemmyNet/move_views_to_diesel
[lemmy.git] / lemmy_db_schema / src / lib.rs
1 #[macro_use]
2 extern crate diesel;
3
4 use chrono::NaiveDateTime;
5
6 pub mod schema;
7 pub mod source;
8
9 // TODO: can probably move this back to lemmy_db_queries
10 pub fn naive_now() -> NaiveDateTime {
11   chrono::prelude::Utc::now().naive_utc()
12 }