fix(device-core): make migration replay recovery safe
This commit is contained in:
@@ -27,6 +27,6 @@ alter table device_management_command_receipts
|
||||
'device_binding.revoke',
|
||||
'device_configuration_revision.create',
|
||||
'device_configuration_desired.set'
|
||||
));
|
||||
)) not valid;
|
||||
|
||||
commit;
|
||||
|
||||
@@ -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([
|
||||
|
||||
Reference in New Issue
Block a user