aboutsummaryrefslogtreecommitdiff
path: root/src/db
diff options
context:
space:
mode:
authorMelody Horn / boringcactus <melody@boringcactus.com>2021-06-19 23:10:53 -0600
committerMelody Horn / boringcactus <melody@boringcactus.com>2021-06-19 23:10:53 -0600
commit88d527d574567420d7aa72f37205bd6b345b8dd7 (patch)
tree4cbec62f262d29c88b15df02e1d37f003991d99e /src/db
parentf2009f7135f92959e919a85a02584d7a0d7b8e47 (diff)
downloadtosin-88d527d574567420d7aa72f37205bd6b345b8dd7.tar.gz
tosin-88d527d574567420d7aa72f37205bd6b345b8dd7.zip
generate diesel::table! in derive(Model)
Diffstat (limited to 'src/db')
-rw-r--r--src/db/mod.rs3
1 files changed, 3 insertions, 0 deletions
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;