-
Notifications
You must be signed in to change notification settings - Fork 160
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: coduz <alberto.codutti@eurotech.com>
- Loading branch information
Showing
11 changed files
with
100 additions
and
23 deletions.
There are no files selected for viewing
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
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
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
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
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
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
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
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
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
35 changes: 35 additions & 0 deletions
35
...ne/jbatch/src/main/resources/liquibase/1.2.0/checkpoint_data-add_column_jobinstanceid.xml
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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
Copyright (c) 2020 Eurotech and/or its affiliates and others | ||
All rights reserved. This program and the accompanying materials | ||
are made available under the terms of the Eclipse Public License v1.0 | ||
which accompanies this distribution, and is available at | ||
http://www.eclipse.org/legal/epl-v10.html | ||
Contributors: | ||
Eurotech - initial API and implementation | ||
--> | ||
<databaseChangeLog | ||
xmlns="http://www.liquibase.org/xml/ns/dbchangelog" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog | ||
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.0.xsd" | ||
|
||
logicalFilePath="KapuaDB/changelog-job-engine-jbatch-1.2.0.xml"> | ||
|
||
<include relativeToChangelogFile="true" file="../common-properties.xml"/> | ||
|
||
<changeSet id="changelog-job-engine-jbatch-1.2.0_add_column_jobinstanceid" author="eurotech"> | ||
<addColumn tableName="jbtc_checkpoint_data"> | ||
<column name="jobinstanceid" type="bigint"/> | ||
</addColumn> | ||
|
||
<addForeignKeyConstraint constraintName="fk_checkpointdata_jobinstanceid" | ||
baseTableName="jbtc_checkpoint_data" | ||
baseColumnNames="jobinstanceid" | ||
referencedTableName="jbtc_job_instance_data" | ||
referencedColumnNames="jobinstanceid" | ||
onDelete="CASCADE"/> | ||
</changeSet> | ||
</databaseChangeLog> |
31 changes: 31 additions & 0 deletions
31
job-engine/jbatch/src/main/resources/liquibase/1.2.0/job_engine_jbatch-rename_tables.xml
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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
Copyright (c) 2020 Eurotech and/or its affiliates and others | ||
All rights reserved. This program and the accompanying materials | ||
are made available under the terms of the Eclipse Public License v1.0 | ||
which accompanies this distribution, and is available at | ||
http://www.eclipse.org/legal/epl-v10.html | ||
Contributors: | ||
Eurotech - initial API and implementation | ||
--> | ||
<databaseChangeLog | ||
xmlns="http://www.liquibase.org/xml/ns/dbchangelog" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog | ||
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-3.0.xsd" | ||
|
||
logicalFilePath="KapuaDB/changelog-job-engine-jbatch-1.2.0.xml"> | ||
|
||
<include relativeToChangelogFile="true" file="../common-properties.xml"/> | ||
|
||
<changeSet id="changelog-job-engine-jbatch-1.2.0_renameTable" author="eurotech"> | ||
<renameTable oldTableName="checkpointdata" newTableName="jbtc_checkpoint_data"/> | ||
<renameTable oldTableName="executioninstancedata" newTableName="jbtc_execution_instance_data"/> | ||
<renameTable oldTableName="jobinstancedata" newTableName="jbtc_job_instance_data"/> | ||
<renameTable oldTableName="jobstatus" newTableName="jbtc_job_status"/> | ||
<renameTable oldTableName="stepexecutioninstancedata" newTableName="jbtc_step_execution_instance_data"/> | ||
<renameTable oldTableName="stepstatus" newTableName="jbtc_step_status"/> | ||
</changeSet> | ||
</databaseChangeLog> |