У меня есть приложение Spring Boot.
И моя Liquibase не создает таблицу DATABASECHANGELOG.
Она обрабатывает журнал изменений и после этого выдает ошибку.
Есть идеи, что может быть не так?
Чего-то не хватает?
ошибка:
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table 'addressbook.DATABASECHANGELOG' doesn't exist
config:
spring:
jpa:
show-sql: false
hibernate:
ddl-auto: none
datasource:
url: jdbc:mysql://localhost:3306/addressbook?characterEncoding=UTF-8
username: root
password: root
driver-class-name: com.mysql.jdbc.Driver
liquibase:
enabled: true
change-log: "classpath:db/liquibase-changelog.yml"
список изменений:
databaseChangeLog:
- changeSet:
id: 1
author: me
changes:
- sqlFile:
path: sql/20181025_startup.sql
relativeToChangelogFile: true
stripComments: true
- changeSet:
id: 2
author: me
changes:
- sqlFile:
path: sql/20181026_create_table_contacts.sql
relativeToChangelogFile: true
stripComments: true
зависимости:
gradleVersion=4.10.2
springCloudVersion=Finchley.SR2
springBootVersion=2.0.6.RELEASE
mysqlVersion=5.1.47
liquibaseVersion=3.6.2