From 311b49a2fdd97b8b870dbaccccb55058ee0207c8 Mon Sep 17 00:00:00 2001 From: Melody Horn / boringcactus Date: Sun, 13 Jun 2021 16:33:46 -0600 Subject: lay groundwork for models --- src/db/mod.rs | 1 + src/db/models/mod.rs | 3 +++ 2 files changed, 4 insertions(+) create mode 100644 src/db/mod.rs create mode 100644 src/db/models/mod.rs (limited to 'src/db') diff --git a/src/db/mod.rs b/src/db/mod.rs new file mode 100644 index 0000000..c446ac8 --- /dev/null +++ b/src/db/mod.rs @@ -0,0 +1 @@ +pub mod models; diff --git a/src/db/models/mod.rs b/src/db/models/mod.rs new file mode 100644 index 0000000..5e59949 --- /dev/null +++ b/src/db/models/mod.rs @@ -0,0 +1,3 @@ +pub use tosin_macros::Model; + +pub type Id = usize; -- cgit v1.2.3