mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-02 11:20:18 +08:00
feat: add model page (#757)
* feat: add model page Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com> * feat: support config model for permission Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com> * translation and indentation Signed-off-by: Yixiang Zhao <seriouszyx@foxmail.com>
This commit is contained in:
@ -138,6 +138,11 @@ func (a *Adapter) createTable() {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
err = a.Engine.Sync2(new(Model))
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
err = a.Engine.Sync2(new(Provider))
|
||||
if err != nil {
|
||||
panic(err)
|
||||
|
Reference in New Issue
Block a user