This commit is contained in:
2025-10-09 20:57:51 +02:00
parent 88218b8be1
commit 3e25c5ef76
2 changed files with 58 additions and 22 deletions

View File

@@ -4,4 +4,4 @@ COPY . /app
WORKDIR /app
RUN mvn clean compile -P develop package
ENTRYPOINT ["/usr/bin/dumb-init", "--"]
CMD ["java", "-Dspring.profiles.active=lab", "-jar", "/app/target/tm-0.0.1-SNAPSHOT.jar"]
CMD ["java", "-Dspring.profiles.active=nflow.db.postgresql,lab", "-jar", "/app/target/tm-0.0.1-SNAPSHOT.jar"]

View File

@@ -1,31 +1,67 @@
<?xml version="1.1" encoding="UTF-8" standalone="no"?>
<databaseChangeLog xmlns="http://www.liquibase.org/xml/ns/dbchangelog" xmlns:ext="http://www.liquibase.org/xml/ns/dbchangelog-ext" xmlns:pro="http://www.liquibase.org/xml/ns/pro" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd http://www.liquibase.org/xml/ns/pro http://www.liquibase.org/xml/ns/pro/liquibase-pro-latest.xsd http://www.liquibase.org/xml/ns/dbchangelog http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-latest.xsd">
<changeSet author="vk (generated)" id="1756328366833-1">
<addColumn tableName="transaction">
<column name="erp_journal_ref" type="varchar(255)"/>
<changeSet author="vkhoza (generated)" id="1760035530432-4">
<addColumn tableName="provider">
<column name="percentage_commission" type="float(53)">
<constraints nullable="true"/>
</column>
</addColumn>
</changeSet>
<changeSet author="vk (generated)" id="1756328366833-2">
<addColumn tableName="transaction">
<column name="erp_purchase_payment_ref" type="varchar(255)"/>
</addColumn>
<changeSet author="vkhoza (generated)" id="1760035530432-5">
<dropForeignKeyConstraint baseTableName="additional_data" constraintName="fk3id7ni5v07ymwuvgcrudxjrfh"/>
</changeSet>
<changeSet author="vk (generated)" id="1756328366833-3">
<addColumn tableName="transaction">
<column name="erp_purchase_ref" type="varchar(255)"/>
</addColumn>
<changeSet author="vkhoza (generated)" id="1760035530432-6">
<dropForeignKeyConstraint baseTableName="nflow_workflow_action" constraintName="fk_action_workflow_id"/>
</changeSet>
<changeSet author="vk (generated)" id="1756328366833-4">
<addColumn tableName="transaction">
<column name="erp_sales_payment_ref" type="varchar(255)"/>
</addColumn>
<changeSet author="vkhoza (generated)" id="1760035530432-7">
<dropForeignKeyConstraint baseTableName="nflow_archive_workflow_action" constraintName="fk_arch_action_wf_id"/>
</changeSet>
<changeSet author="vk (generated)" id="1756328366833-5">
<addColumn tableName="transaction">
<column name="erp_sales_ref" type="varchar(255)"/>
</addColumn>
<changeSet author="vkhoza (generated)" id="1760035530432-8">
<dropForeignKeyConstraint baseTableName="nflow_archive_workflow_state" constraintName="fk_arch_state_wf_id"/>
</changeSet>
<changeSet author="vk (generated)" id="1756328366833-6">
<dropColumn columnName="erp_ref" tableName="transaction"/>
<changeSet author="vkhoza (generated)" id="1760035530432-9">
<dropForeignKeyConstraint baseTableName="nflow_workflow_state" constraintName="fk_state_workflow_id"/>
</changeSet>
<changeSet author="vkhoza (generated)" id="1760035530432-10">
<dropUniqueConstraint constraintName="nflow_workflow_uniq" tableName="nflow_workflow"/>
</changeSet>
<changeSet author="vkhoza (generated)" id="1760035530432-11">
<dropTable tableName="nflow_archive_workflow"/>
</changeSet>
<changeSet author="vkhoza (generated)" id="1760035530432-12">
<dropTable tableName="nflow_archive_workflow_action"/>
</changeSet>
<changeSet author="vkhoza (generated)" id="1760035530432-13">
<dropTable tableName="nflow_archive_workflow_state"/>
</changeSet>
<changeSet author="vkhoza (generated)" id="1760035530432-14">
<dropTable tableName="nflow_executor"/>
</changeSet>
<changeSet author="vkhoza (generated)" id="1760035530432-15">
<dropTable tableName="nflow_workflow"/>
</changeSet>
<changeSet author="vkhoza (generated)" id="1760035530432-16">
<dropTable tableName="nflow_workflow_action"/>
</changeSet>
<changeSet author="vkhoza (generated)" id="1760035530432-17">
<dropTable tableName="nflow_workflow_definition"/>
</changeSet>
<changeSet author="vkhoza (generated)" id="1760035530432-18">
<dropTable tableName="nflow_workflow_state"/>
</changeSet>
<changeSet author="vkhoza (generated)" id="1760035530432-19">
<dropTable tableName="otps"/>
</changeSet>
<changeSet author="vkhoza (generated)" id="1760035530432-20">
<dropColumn columnName="name" tableName="setting"/>
</changeSet>
<changeSet author="vkhoza (generated)" id="1760035530432-21">
<dropColumn columnName="value" tableName="setting"/>
</changeSet>
<changeSet author="vkhoza (generated)" id="1760035530432-1">
<addNotNullConstraint columnDataType="varchar(255)" columnName="password" tableName="users" validate="true"/>
</changeSet>
<changeSet author="vkhoza (generated)" id="1760035530432-3">
<addUniqueConstraint columnNames="username" constraintName="UC_USERSUSERNAME_COL" tableName="users"/>
</changeSet>
</databaseChangeLog>