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:
1 parent
22dd57bd84
commit
4914e2057a
20 files changed
+117
-117
No files matched your search
@@ -4,11 +4,11 @@ use sea_orm::entity::prelude::*;
|
||||
#[sea_orm(table_name = "campaigns_completion")]
|
||||
pub struct Model {
|
||||
#[sea_orm(primary_key)]
|
||||
pub id: u32,
|
||||
pub campaign_id: u32,
|
||||
pub id: i32,
|
||||
pub campaign_id: i32,
|
||||
pub creation_time: i64, // seconds since unix epoch
|
||||
pub level: u32,
|
||||
pub wave: u32,
|
||||
pub level: i32,
|
||||
pub wave: i32,
|
||||
pub complete: bool,
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user