File tree Expand file tree Collapse file tree 3 files changed +12
-0
lines changed
migrations/2025-04-25-163121_prune_error Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Original file line number Diff line number Diff line change 1+ alter table subgraphs .prune_state
2+ drop column errored_at,
3+ drop column error;
Original file line number Diff line number Diff line change 1+ alter table subgraphs .prune_state
2+ add column errored_at timestamptz ,
3+ add column error text ,
4+ add constraint error_ck check ((errored_at is null ) = (error is null ));
Original file line number Diff line number Diff line change @@ -534,6 +534,8 @@ mod status {
534534
535535 started_at -> Timestamptz ,
536536 finished_at -> Nullable <Timestamptz >,
537+ errored_at -> Nullable <Timestamptz >,
538+ error -> Nullable <Text >,
537539 }
538540 }
539541
@@ -633,6 +635,9 @@ mod status {
633635
634636 pub started_at : DateTime < Utc > ,
635637 pub finished_at : Option < DateTime < Utc > > ,
638+
639+ pub errored_at : Option < DateTime < Utc > > ,
640+ pub error : Option < String > ,
636641 }
637642
638643 /// Per-table information about the pruning run for a deployment
You can’t perform that action at this time.
0 commit comments