Use i32 for database IDs since that's support for postgres too

This commit is contained in:
NG (Graham) committed 2025-06-06 20:20:19 -04:00
1 parent 22dd57bd84
commit 4914e2057a
20 files changed
+117 -117

No files matched your search

+1 -1
View File
@@ -4,7 +4,7 @@ use sea_orm::entity::prelude::*;
#[sea_orm(table_name = "users")]
pub struct Model {
#[sea_orm(primary_key)]
pub id: u32,
pub id: i32,
pub creation_time: i64, // seconds since unix epoch
pub public_id: String,
pub display_name: String,