fix(device-core): make migration replay recovery safe

This commit is contained in:
DCCONSTRUCTIONS
2026-08-22 21:12:21 +03:00
parent 65c99613e5
commit 79140ee7bf
5 changed files with 313 additions and 1 deletions
@@ -7,6 +7,7 @@ const replayedIntermediateConstraintMigrations = Object.freeze([
"007_device_lifecycle_commands.sql",
"009_device_sensitive_reference_commands.sql",
"011_device_control_resource_commands.sql",
"014_device_registry_profile_commands.sql",
]);
const finalCommandKindMigration = "016_device_asset_infrastructure_ontology.sql";
const finalCommandKinds = Object.freeze([