From 434b6d19a5a47e0d3b4399d9937565723328643e Mon Sep 17 00:00:00 2001 From: Melody Horn Date: Wed, 30 Jun 2021 00:27:49 -0600 Subject: juggle Id so FromSql works out --- src/db/models/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 { -- cgit v1.2.3