aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMelody Horn <melody@boringcactus.com>2021-06-30 00:27:49 -0600
committerMelody Horn <melody@boringcactus.com>2021-06-30 00:27:49 -0600
commit434b6d19a5a47e0d3b4399d9937565723328643e (patch)
treefef8238cbffe8f3b0188e85a80174c4337bb3e7f /src
parent9829bbfcd57c57e237c6aacb96a78d0b9f5bab68 (diff)
downloadtosin-434b6d19a5a47e0d3b4399d9937565723328643e.tar.gz
tosin-434b6d19a5a47e0d3b4399d9937565723328643e.zip
juggle Id so FromSql works out
Diffstat (limited to 'src')
-rw-r--r--src/db/models/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db/models/mod.rs b/src/db/models/mod.rs
index 4133cf2..ad60ac5 100644
--- a/src/db/models/mod.rs
+++ b/src/db/models/mod.rs
@@ -3,7 +3,7 @@ pub use tosin_macros::{gather_models as gather, Model};
mod meta;
pub use meta::*;
-pub type Id = usize;
+pub type Id = i64;
#[derive(Clone, Debug)]
pub enum Field {