diff options
author | Melody Horn <melody@boringcactus.com> | 2021-06-30 00:27:49 -0600 |
---|---|---|
committer | Melody Horn <melody@boringcactus.com> | 2021-06-30 00:27:49 -0600 |
commit | 434b6d19a5a47e0d3b4399d9937565723328643e (patch) | |
tree | fef8238cbffe8f3b0188e85a80174c4337bb3e7f /src | |
parent | 9829bbfcd57c57e237c6aacb96a78d0b9f5bab68 (diff) | |
download | tosin-434b6d19a5a47e0d3b4399d9937565723328643e.tar.gz tosin-434b6d19a5a47e0d3b4399d9937565723328643e.zip |
juggle Id so FromSql works out
Diffstat (limited to 'src')
-rw-r--r-- | src/db/models/mod.rs | 2 |
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 { |