fix bug.
This commit is contained in:
parent
6cbed60a65
commit
695dd903d1
2
go.mod
2
go.mod
@ -1,6 +1,6 @@
|
|||||||
module ferry
|
module ferry
|
||||||
|
|
||||||
go 1.124
|
go 1.14
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d // indirect
|
github.com/StackExchange/wmi v0.0.0-20190523213315-cbe66965904d // indirect
|
||||||
|
@ -16,14 +16,10 @@ func AutoMigrate(db *gorm.DB) error {
|
|||||||
new(models.Dept),
|
new(models.Dept),
|
||||||
new(models.Menu),
|
new(models.Menu),
|
||||||
new(models.LoginLog),
|
new(models.LoginLog),
|
||||||
new(models.SysOperLog),
|
|
||||||
new(models.RoleMenu),
|
new(models.RoleMenu),
|
||||||
new(models.SysRoleDept),
|
new(models.SysRoleDept),
|
||||||
new(models.SysUser),
|
new(models.SysUser),
|
||||||
new(models.SysRole),
|
new(models.SysRole),
|
||||||
new(models.Post),
|
new(models.Post),
|
||||||
new(models.DictData),
|
|
||||||
new(models.SysConfig),
|
|
||||||
new(models.DictType),
|
|
||||||
).Error
|
).Error
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user