Skip to content

Commit

Permalink
fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
callmeclover authored Apr 24, 2024
1 parent 7426057 commit 1d15377
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/user/model.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ impl User {
#[derive(Serialize, Deserialize, Clone, Eq, PartialEq, Debug, DeriveEntityModel)]
#[sea_orm(table_name = "users")]
pub struct Model {
#[sea_orm(primary_key, auto_increment=1)]
#[sea_orm(primary_key)]
pub user_number: i32,
#[sea_orm(column_name = "id", enum_name = "Id")]
pub id: i32,
Expand Down

0 comments on commit 1d15377

Please sign in to comment.