Closed komaroffdd closed 2 years ago
Hi, I think that it should be possible to prepare a special test liquibase changelog to include the main changelog and also some additional testing migrations/operations. Check out this page: https://docs.liquibase.com/concepts/advanced/include.html
If this solution is not suitable for you, you can also use ResourceDatabasePopulator to initialize the database manually, and register it using DatabaseInitializerDetector or BeanPostProcessor.
Hello thanks! I will try both options and return to this thread with some solution
Hello!
I have a question, how to execute init script(example CREATE DATABASE; CREATE some_user;) before migrations;
Suite Migrations are rolled under users in the database, so before migrations we need to roll the init script. Thanks!