xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>lis-app</artifactId>
- <version>0.1.7-SNAPSHOT</version>
+ <version>0.1.8-SNAPSHOT</version>
<parent>
<groupId>hu.user</groupId>
<artifactId>lis</artifactId>
create: All tasks
job-execution.enabled: true
logging:
- # config: logback.xml
+ config: classpath:logback-prod.xml
level:
org.hibernate.engine.jdbc.spi.SqlExceptionHelper: ERROR
org.springframework.web.clientRestTemplate: ERROR
workflow:
import-invoice:
input-path: /temp/invoice-import
+ project-id-pattern: \d{4}-\d{4}
service:
nav:
trust:
DB2 SQL
-------
ALTER TABLE "tableName" ALTER COLUMN "columnName" RESTART WITH <new index value>
-ALTER TABLE org RENAME COLUMN deptnumb TO deptnum
\ No newline at end of file
+ALTER TABLE org RENAME COLUMN deptnumb TO deptnum
+
+INSERT INTO PARTNER(name, vat_nr, address, active)
+VALUES('Értékesítő Kft', '99999999-2-41', '1234 Budapest, Hármas utca 1', 1);
+
+ALTER TABLE partner ALTER COLUMN id RESTART WITH 4;
+
+ALTER TABLE project ALTER COLUMN id RESTART WITH 2;
+
+ALTER TABLE project_status ALTER COLUMN id RESTART WITH 2;
+
+++ /dev/null
--- // add partner for invoice import test
--- Migration SQL that makes the change goes here.
-
-INSERT INTO PARTNER(id, name, vat_nr, address, active)
-VALUES(3, 'Értékesítő Kft', '99999999-2-41', '1234 Budapest, Hármas utca 1', 1);
-
--- //@UNDO
--- SQL to undo the change goes here.
-
-DELETE FROM PARTNER WHERE name = 'Értékesítő Kft';
+++ /dev/null
--- // reset partner index
--- Migration SQL that makes the change goes here.
-
-ALTER TABLE partner ALTER COLUMN id RESTART WITH 4;
-
--- //@UNDO
--- SQL to undo the change goes here.
-
-
+++ /dev/null
--- // reset project index
--- Migration SQL that makes the change goes here.
-
-ALTER TABLE project ALTER COLUMN id RESTART WITH 2;
-
--- //@UNDO
--- SQL to undo the change goes here.
-
-
+++ /dev/null
--- // reset project index
--- Migration SQL that makes the change goes here.
-
-ALTER TABLE project_status ALTER COLUMN id RESTART WITH 2;
-
--- //@UNDO
--- SQL to undo the change goes here.
-
-