my liquibase.properties file content is:
changelog-file: db-changelog-master.yaml
driver: com.mysql.cj.jdbc.Driver
search-path: ./changelog/
url: jdbc:mysql://localhost:3306/stock?useSSL=false
username: user1
password: mypass
classpath: …/mysql-connector-j-8.2.0.jar
‘db-changelog-master.yaml’ file content is:
databaseChangeLog:
- include:
file: 2024/09/09-04-st-sto-122-changelog.yaml
relativeToChangelogFile: true - include:
file: 2024/09/09-04-st-sto-123-changelog.yaml
relativeToChangelogFile: true
I tried to change “relativeToChangelogFile: false” thats also not work!
when i run ‘liquibase update’ command it gives
Unexpected error running Liquibase: Error parsing db-changelog-master.yaml : The file 2024/09/09-04-st-sto-123-changelog.yaml was not found in the configured search path:
- /Users/hasandag/my_project/db/changelog
More locations can be added with the ‘searchPath’ parameter.
error
master file found by liquibase but How can I show my sub chage file?