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 {
534
534
535
535
started_at -> Timestamptz ,
536
536
finished_at -> Nullable <Timestamptz >,
537
+ errored_at -> Nullable <Timestamptz >,
538
+ error -> Nullable <Text >,
537
539
}
538
540
}
539
541
@@ -633,6 +635,9 @@ mod status {
633
635
634
636
pub started_at : DateTime < Utc > ,
635
637
pub finished_at : Option < DateTime < Utc > > ,
638
+
639
+ pub errored_at : Option < DateTime < Utc > > ,
640
+ pub error : Option < String > ,
636
641
}
637
642
638
643
/// Per-table information about the pruning run for a deployment
You can’t perform that action at this time.
0 commit comments