Remove useless PermissionRule

This commit is contained in:
Yang Luo
2023-11-03 00:39:16 +08:00
parent 8a195715d0
commit 9442aa9f7a
3 changed files with 1 additions and 17 deletions

View File

@ -329,11 +329,6 @@ func (a *Ormer) createTable() {
panic(err)
}
err = a.Engine.Sync2(new(PermissionRule))
if err != nil {
panic(err)
}
err = a.Engine.Sync2(new(xormadapter.CasbinRule))
if err != nil {
panic(err)