fix 🐛 优化迁移功能
This commit is contained in:
1 parent
845558cc65
commit
bf7934c20a
21 files changed
+256
-466
No files matched your search
@@ -7,12 +7,11 @@ type SysRole struct {
|
||||
RoleKey string `json:"roleKey" gorm:"size:128;"` //角色代码
|
||||
RoleSort int `json:"roleSort" gorm:""` //角色排序
|
||||
Flag string `json:"flag" gorm:"size:128;"` //
|
||||
CreateBy string `json:"createBy" gorm:"size:128;"` //
|
||||
UpdateBy string `json:"updateBy" gorm:"size:128;"` //
|
||||
Remark string `json:"remark" gorm:"size:255;"` //备注
|
||||
Admin bool `json:"admin" gorm:"size:4;"`
|
||||
DataScope string `json:"dataScope" gorm:"size:128;"`
|
||||
BaseModel
|
||||
ModelTime
|
||||
ControlBy
|
||||
}
|
||||
|
||||
func (SysRole) TableName() string {
|
||||
|
||||
Reference in new issue
Block a user