-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
520 - Add audit columns to the integration_workflow table
- Loading branch information
Showing
3 changed files
with
92 additions
and
0 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
25 changes: 25 additions & 0 deletions
25
...guration/20240604183100_embedded_configuration_added_integration_workflow_constraints.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,25 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<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-4.20.xsd"> | ||
<changeSet id="20240604183100" author="Ivica Cardic"> | ||
<addColumn tableName="integration_workflow"> | ||
<column name="created_by" type="VARCHAR(256)" defaultValue="system"> | ||
<constraints nullable="false" /> | ||
</column> | ||
<column name="created_date" type="TIMESTAMP" defaultValue="now"> | ||
<constraints nullable="false" /> | ||
</column> | ||
<column name="last_modified_by" type="VARCHAR(256)" defaultValue="system"> | ||
<constraints nullable="false" /> | ||
</column> | ||
<column name="last_modified_date" type="TIMESTAMP" defaultValue="now"> | ||
<constraints nullable="false" /> | ||
</column> | ||
<column name="version" type="BIGINT" defaultValue="1"> | ||
<constraints nullable="false" /> | ||
</column> | ||
</addColumn> | ||
</changeSet> | ||
</databaseChangeLog> |
13 changes: 13 additions & 0 deletions
13
...uration/20240604183110_embedded_configuration_dropped_project_workflow_default_values.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,13 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<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-4.20.xsd"> | ||
<changeSet id="20240604183110" author="Ivica Cardic"> | ||
<dropDefaultValue tableName="integration_workflow" columnName="created_by" /> | ||
<dropDefaultValue tableName="integration_workflow" columnName="created_date" /> | ||
<dropDefaultValue tableName="integration_workflow" columnName="last_modified_by" /> | ||
<dropDefaultValue tableName="integration_workflow" columnName="last_modified_date" /> | ||
<dropDefaultValue tableName="integration_workflow" columnName="version" /> | ||
</changeSet> | ||
</databaseChangeLog> |