Skip to content

Commit

Permalink
Integer-based primary keys seem to need to be i32 (INT4 SQL type) for…
Browse files Browse the repository at this point in the history
… sqlx-postgres compatability
  • Loading branch information
jhodapp committed Feb 18, 2024
1 parent 1a5ac07 commit 0329eee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entity/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ pub mod organization;
pub mod user;

/// A type alias that represents any Entity's id field data type
pub type Id = u64;
pub type Id = i32;

0 comments on commit 0329eee

Please sign in to comment.