lpwindow: Fix recover schema

This commit is contained in:
Łukasz Magiera 2023-11-11 12:19:38 +01:00
parent d719db3f2c
commit 8b4101360a

View File

@ -37,12 +37,12 @@ create table wdpost_proofs
create table wdpost_recovery_tasks create table wdpost_recovery_tasks
( (
task_id bigint not null task_id bigint not null
constraint wdpost_partition_tasks_pk constraint wdpost_recovery_partition_tasks_pk
primary key, primary key,
sp_id bigint not null, sp_id bigint not null,
proving_period_start bigint not null, proving_period_start bigint not null,
deadline_index bigint not null, deadline_index bigint not null,
partition_index bigint not null, partition_index bigint not null,
constraint wdpost_partition_tasks_identity_key constraint wdpost_recovery_partition_tasks_identity_key
unique (sp_id, proving_period_start, deadline_index, partition_index) unique (sp_id, proving_period_start, deadline_index, partition_index)
); );