feat: additionnal bal features: ended field, current_bal for users

This commit is contained in:
Ninjdai 2025-08-09 13:56:21 +02:00
parent 61aac4bd80
commit 4d451ace79
5 changed files with 97 additions and 49 deletions

View file

@ -9,6 +9,7 @@ pub struct Model {
pub id: u32,
pub user_id: u32,
pub name: String,
pub ended: bool
}
#[derive(Copy, Clone, Debug, EnumIter, DeriveRelation)]

View file

@ -10,6 +10,7 @@ pub struct Model {
#[sea_orm(unique)]
pub username: String,
pub hashed_password: String,
pub owner_id: Option<u32>,
pub current_bal_id: Option<u32>,
}