12345678910111213141516171819 |
- package dao
- import (
- "demo/internal/model"
- "github.com/go-xorm/xorm"
- )
- func SyncTable(OutDB *xorm.Engine) error {
- return OutDB.Sync(
- new(model.DeliveryAndRecall),
- new(model.Receiver),
- new(model.Sim),
- new(model.Factory),
- new(model.Recall),
- new(model.Management),
- new(model.ManagementBh),
- )
- }
|