feat: gateway.

This commit is contained in:
2026-04-29 16:56:34 +08:00
parent 5f491b1375
commit f269502eac
5 changed files with 298 additions and 1 deletions
+1
View File
@@ -36,6 +36,7 @@ func main() {
&models.MqttStepCountRecord{},
&models.MqttGatewayStatusRecord{},
&models.MqttTrainingSessionRecord{},
&models.Gateway{},
)
if err := models.BackfillLegacyUserPermissions(config.DB); err != nil {
log.Printf("legacy user permission backfill failed: %v", err)