Add chat and message pages

This commit is contained in:
Yang Luo
2023-04-09 15:53:10 +08:00
parent 30ea3a1335
commit 2d55252261
13 changed files with 1650 additions and 0 deletions

View File

@ -201,6 +201,16 @@ func (a *Adapter) createTable() {
panic(err)
}
err = a.Engine.Sync2(new(Chat))
if err != nil {
panic(err)
}
err = a.Engine.Sync2(new(Message))
if err != nil {
panic(err)
}
err = a.Engine.Sync2(new(Product))
if err != nil {
panic(err)