Skip to content

Commit

Permalink
Update Database.go
Browse files Browse the repository at this point in the history
  • Loading branch information
GuzhavinAleksey authored Dec 22, 2020
1 parent f79c92e commit c4535a6
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion config/Database.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@ type UserModel struct {

}

//func (UserModel) TableName() string {
// return "custom_table_users"
// }

type CasbinRoleModel struct {

Expand All @@ -82,4 +85,8 @@ type CasbinRoleModel struct {
Path string `gorm:"column:v1"`
Method string `gorm:"column:v2"`

}
}

//func (CasbinRoleModel) TableName() string {
// return "casbin_rule"
// }

0 comments on commit c4535a6

Please sign in to comment.