refactor: split iot models by entity

This commit is contained in:
2026-08-03 14:47:11 +08:00
parent aaede08f88
commit d8d62469d6
4 changed files with 52 additions and 41 deletions

View File

@@ -0,0 +1,9 @@
package models
import "git.apinb.com/bsm-sdk/core/database"
func init() {
database.AppendMigrate(&IotCommand{})
database.AppendMigrate(&IotOutbox{})
database.AppendMigrate(&IotDeviceMessage{})
}