mirror of
https://git.ngram.ca/OpenJam/rc-servers
synced 2026-08-23 23:08:52 +00:00
Use i32 for database IDs since that's support for postgres too
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user