Skip to content

Commit

Permalink
fix fix table name
Browse files Browse the repository at this point in the history
  • Loading branch information
fankaiLiu committed Dec 11, 2023
1 parent fffb6c6 commit de67ce1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/template/src/entities/user.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ use sea_orm::entity::prelude::*;
use serde::{Deserialize, Serialize};

#[derive(Clone, Debug, PartialEq, DeriveEntityModel, Eq, Serialize, Deserialize)]
#[sea_orm(table_name = "user")]
#[sea_orm(table_name = "users")]
pub struct Model {
#[sea_orm(primary_key, auto_increment = false)]
pub id: String,
Expand Down

0 comments on commit de67ce1

Please sign in to comment.