mirror of
https://github.com/danbulant/Portfolio
synced 2026-06-24 17:11:49 +00:00
fix: missing default_value
This commit is contained in:
parent
702a79d1cf
commit
1a4e471164
1 changed files with 1 additions and 0 deletions
|
|
@ -22,6 +22,7 @@ pub struct Model {
|
||||||
pub personal_identification_number_hash: Option<String>,
|
pub personal_identification_number_hash: Option<String>,
|
||||||
pub public_key: String,
|
pub public_key: String,
|
||||||
pub private_key: String,
|
pub private_key: String,
|
||||||
|
#[sea_orm(default_value = false)]
|
||||||
pub is_admin: bool,
|
pub is_admin: bool,
|
||||||
pub created_at: DateTime,
|
pub created_at: DateTime,
|
||||||
pub updated_at: DateTime,
|
pub updated_at: DateTime,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue