Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
loicmathieu committed Oct 25, 2024
1 parent a6c831d commit 1632d86
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
alter table executions drop column "state_duration";
alter table executions add column "state_duration" VARCHAR(150) NOT NULL GENERATED ALWAYS AS (JQ_STRING("value", '.state.duration'));
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
alter table `executions` drop column `state_duration`;
alter table `executions` add column `state_duration` VARCHAR(150) NOT NULL GENERATED ALWAYS AS (value ->> '$.state.duration'):
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
alter table executions drop column state_duration;
alter table executions add column state_duration VARCHAR(150) NOT NULL GENERATED ALWAYS AS (value #>> '{state, duration}');

0 comments on commit 1632d86

Please sign in to comment.