Generating ddl script #1689
-
Hi! I am adding a new bean to the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
I've reworked DDL generation slightly on the 3.x branch to make it a bit easier to use, which might give you some inspiration. Check out The structure is similar on master/Apiman 2.x , but some sections of the POM are commented out in the older version because there were some dependency issues that came up occasionally and made the DDL generation fail. Feel free to experiment. For example, on 3.x, you should be able to run Add the generated liquibase diff XML to Then when you run Copy these over to In summary:
|
Beta Was this translation helpful? Give feedback.
I've reworked DDL generation slightly on the 3.x branch to make it a bit easier to use, which might give you some inspiration.
Check out
distro -> ddl -> pom.xml
The structure is similar on master/Apiman 2.x , but some sections of the POM are commented out in the older version because there were some dependency issues that came up occasionally and made the DDL generation fail. Feel free to experiment.
For example, on 3.x, you should be able to run
mvn clean install
in the DDL folder and it will generate a new liquibase diff file intarget
that includes your changes.Add the generated liquibase diff XML to
src/main/liquibase/current
and modify it to remove anything extraneous or weird (som…