Execute sql file on every startup using liquibase configuration

Viewed 860

I want to create a SQL initialization file to populate test data every time on Spring startup:

databaseChangeLog:
  - changeSet:
      id: 0001
      author: test
      dbms: postgres
      changes:
        - sqlFile:
            - relativeToChangelogFile: true
            - path: data.sql

Do you know how I can configure it to be executed on every Spring startup?

1 Answers
Related