From 743ae22168b1fcdf2e1e54bcadbb1bb3fce3370d Mon Sep 17 00:00:00 2001 From: "Adam T. Carpenter" Date: Mon, 5 Oct 2020 22:05:58 -0400 Subject: started work on schema, models, and repos --- dichroism/src/types.rs | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 dichroism/src/types.rs (limited to 'dichroism/src/types.rs') diff --git a/dichroism/src/types.rs b/dichroism/src/types.rs new file mode 100644 index 0000000..91aef95 --- /dev/null +++ b/dichroism/src/types.rs @@ -0,0 +1,5 @@ +use diesel::r2d2::ConnectionManager; +use diesel::r2d2::Pool; +use diesel::SqliteConnection; + +pub type DbPool = Pool>; -- cgit v1.2.3