From 88d527d574567420d7aa72f37205bd6b345b8dd7 Mon Sep 17 00:00:00 2001 From: Melody Horn / boringcactus Date: Sat, 19 Jun 2021 23:10:53 -0600 Subject: generate diesel::table! in derive(Model) --- src/db/mod.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/db') diff --git a/src/db/mod.rs b/src/db/mod.rs index 05c38df..e04fe06 100644 --- a/src/db/mod.rs +++ b/src/db/mod.rs @@ -1,3 +1,6 @@ pub mod backend; pub mod migration; pub mod models; + +pub use diesel::*; +pub use diesel::backend as diesel_backend; -- cgit v1.2.3