File tree Expand file tree Collapse file tree 3 files changed +10
-0
lines changed
migrations/2023-05-23-1715-update-subgraph-deployment-assignment Expand file tree Collapse file tree 3 files changed +10
-0
lines changed Original file line number Diff line number Diff line change
1
+ -- Define the 'down' migration to remove the 'paused_at' and 'assigned_at' fields from 'subgraph_deployment_assignment' table
2
+ ALTER TABLE subgraphs .subgraph_deployment_assignment
3
+ DROP COLUMN paused_at,
4
+ DROP COLUMN assigned_at;
Original file line number Diff line number Diff line change
1
+ -- Define the 'up' migration to add the 'paused_at' and 'assigned_at' fields to 'subgraph_deployment_assignment' table
2
+ ALTER TABLE subgraphs .subgraph_deployment_assignment
3
+ ADD COLUMN paused_at TIMESTAMPTZ NULL ,
4
+ ADD COLUMN assigned_at TIMESTAMPTZ NULL ;
Original file line number Diff line number Diff line change @@ -93,6 +93,8 @@ table! {
93
93
subgraphs. subgraph_deployment_assignment {
94
94
id -> Integer ,
95
95
node_id -> Text ,
96
+ paused_at -> Nullable <Timestamptz >,
97
+ assigned_at -> Nullable <Timestamptz >,
96
98
}
97
99
}
98
100
You can’t perform that action at this time.
0 commit comments