mirror of https://github.com/veypi/OneAuth.git
refactor(models): Remove TableName methods and use global table prefix
- Add DB.Prefix "vb_" to cfg.DB config for global table prefix
- Remove TableName() methods from all models (User, Role, Permission, etc.)
- Remove Role.Scope field and its unique index with Code
- Let GORM auto-generate table names with configured prefix
master
parent
bc060e23a6
commit
e83444df4c
Loading…
Reference in New Issue