feat: split camera credentials and persist profiles (#50)

This commit is contained in:
QiuSW
2026-08-13 12:12:19 +08:00
parent 7523dfb1d6
commit 1a632649f3
16 changed files with 359 additions and 54 deletions
+1
View File
@@ -20,6 +20,7 @@ func init() {
store = device.NewPostgresStore(app.Database())
}
app.RegisterMigration(platform.Migration{Version: 2026081202, Name: "sense_device", SQL: device.MigrationSQL})
app.RegisterMigration(platform.Migration{Version: 2026081301, Name: "sense_device_split_credentials", SQL: device.SplitCredentialMigrationSQL})
device.NewModule(device.NewService(store, vault)).Register(app)
return nil
})