Refactor the record code.

This commit is contained in:
Gucheng Wang
2021-11-07 16:51:16 +08:00
parent 0e71e603ac
commit 77fffcacac
7 changed files with 78 additions and 112 deletions

View File

@ -139,7 +139,7 @@ func (a *Adapter) createTable() {
panic(err)
}
err = a.Engine.Sync2(new(Records))
err = a.Engine.Sync2(new(Record))
if err != nil {
panic(err)
}