I have a spring-boot application which needs to be moved to production. I need to define strategy to instantiate the DB for this which includes creating tables in the Database and adding some default values
I saw spring.jpa.hibernate.ddl feature but this will create/drop each time my application is restarted. Also, i read a bit about flyway but that seems to be a complex DB migration tool and all i have to do is create some tables if not present. Also, i need to be able to control the priority for the different sql scripts that will run.
Is there any simple approach (preferably open source) to run multiple sql scrips from a spring boot application with a defined priority.