fix: make command constraint replay restart-safe

This commit is contained in:
DCCONSTRUCTIONS
2026-08-21 18:51:08 +03:00
parent 68800b773d
commit 1d3ed5e16e
5 changed files with 64 additions and 4 deletions
@@ -16,6 +16,6 @@ alter table device_management_command_receipts
'edge.ensure',
'route.ensure',
'enrollment_intent.ensure'
));
)) not valid;
commit;
@@ -20,6 +20,6 @@ alter table device_management_command_receipts
'device.transfer',
'discovery.reject',
'discovery.expire'
));
)) not valid;
commit;
@@ -22,6 +22,6 @@ alter table device_management_command_receipts
'discovery.expire',
'device_credential_binding.upsert',
'device_credential_binding.revoke'
));
)) not valid;
commit;
@@ -26,6 +26,6 @@ alter table device_management_command_receipts
'device_binding.revoke',
'device_configuration_revision.create',
'device_configuration_desired.set'
));
)) not valid;
commit;