-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Edvard Fonsell
committed
Apr 11, 2017
1 parent
8e32e56
commit e476598
Showing
5 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
nflow-engine/src/main/resources/scripts/db/update-4.1.0-x/h2.update.ddl.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
alter table nflow_workflow add started timestamp; | ||
alter table nflow_archive_workflow add started timestamp; | ||
|
||
update table nflow_workflow set started = (select min(execution_start) from nflow_workflow_action where nflow_workflow_action.workflow_id = nflow_workflow.id) | ||
update table nflow_archive_workflow set started = (select min(execution_start) from nflow_archive_workflow_action where nflow_archive_workflow_action.workflow_id = nflow_workflow.id) |
3 changes: 3 additions & 0 deletions
3
nflow-engine/src/main/resources/scripts/db/update-4.1.0-x/mysql.legacy.update.ddl.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
alter table nflow_workflow add started timestamp null; | ||
alter table nflow_archive_workflow add started timestamp null; | ||
|
||
update table nflow_workflow set started = (select min(execution_start) from nflow_workflow_action where nflow_workflow_action.workflow_id = nflow_workflow.id) | ||
update table nflow_archive_workflow set started = (select min(execution_start) from nflow_archive_workflow_action where nflow_archive_workflow_action.workflow_id = nflow_workflow.id) |
3 changes: 3 additions & 0 deletions
3
nflow-engine/src/main/resources/scripts/db/update-4.1.0-x/mysql.update.ddl.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
alter table nflow_workflow add started timestamp(3) null; | ||
alter table nflow_archive_workflow add started timestamp(3) null; | ||
|
||
update table nflow_workflow set started = (select min(execution_start) from nflow_workflow_action where nflow_workflow_action.workflow_id = nflow_workflow.id) | ||
update table nflow_archive_workflow set started = (select min(execution_start) from nflow_archive_workflow_action where nflow_archive_workflow_action.workflow_id = nflow_workflow.id) |
3 changes: 3 additions & 0 deletions
3
nflow-engine/src/main/resources/scripts/db/update-4.1.0-x/oracle.update.ddl.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
alter table nflow_workflow add started timestamp null; | ||
alter table nflow_archive_workflow add started timestamp null; | ||
|
||
update table nflow_workflow set started = (select min(execution_start) from nflow_workflow_action where nflow_workflow_action.workflow_id = nflow_workflow.id) | ||
update table nflow_archive_workflow set started = (select min(execution_start) from nflow_archive_workflow_action where nflow_archive_workflow_action.workflow_id = nflow_workflow.id) |
3 changes: 3 additions & 0 deletions
3
nflow-engine/src/main/resources/scripts/db/update-4.1.0-x/postgresql.update.ddl.sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,5 @@ | ||
alter table nflow_workflow add started timestamptz; | ||
alter table nflow_archive_workflow add started timestamptz; | ||
|
||
update table nflow_workflow set started = (select min(execution_start) from nflow_workflow_action where nflow_workflow_action.workflow_id = nflow_workflow.id) | ||
update table nflow_archive_workflow set started = (select min(execution_start) from nflow_archive_workflow_action where nflow_archive_workflow_action.workflow_id = nflow_workflow.id) |