From 6bcb3620d8be2f3bcfe72432d17955827894bb6e Mon Sep 17 00:00:00 2001 From: Melody Horn / boringcactus Date: Mon, 14 Jun 2021 18:35:22 -0600 Subject: make backend more explicit --- src/db/backend.rs | 5 +++++ src/db/mod.rs | 1 + 2 files changed, 6 insertions(+) create mode 100644 src/db/backend.rs (limited to 'src/db') diff --git a/src/db/backend.rs b/src/db/backend.rs new file mode 100644 index 0000000..5ae4de2 --- /dev/null +++ b/src/db/backend.rs @@ -0,0 +1,5 @@ +pub enum DbBackend { + Sqlite { + db_file: &'static str, + } +} diff --git a/src/db/mod.rs b/src/db/mod.rs index c446ac8..b6528f5 100644 --- a/src/db/mod.rs +++ b/src/db/mod.rs @@ -1 +1,2 @@ +pub mod backend; pub mod models; -- cgit v1.2.3