Grails - DB migration to save Quartz plugins

We would like to use the Quartz plug-in constant mode to work in a cluster. Our database schema is supported using the DB-migration plug-in, so we cannot use the provided SQL script to update the database.

Is there a db-migration script (i.e. a Groovy file) that creates tables that we can use? Can someone who managed to start the migration share with us?

Alternatively - is there another way to create tables when working in database migration mode? Thanks

+4
source share
1 answer

Perhaps instead of trying to convert the scripts, you can use them directly if you consider this: http://www.liquibase.org/manual/formatted_sql_changelogs or this: http://www.liquibase.org/manual/custom_sql_file. I think you can use the Liquibase include tag with sql change log. Basically, just copy and paste the contents and run them using one of the two methods listed above. If you use the second method, maybe you do not need to copy and paste something and just reference it?

+2
source

Source: https://habr.com/ru/post/1413704/


All Articles