我想用液化库创建mysql表。但我有一个错误
由: liquibase.exception.ChangeLogParseException: databaseChangeLog引起,不包含条目列表。每个changeSet必须开始‘- changeSet:’
db.changelog-master.yaml
databaseChangeLog:
-includeAll:
path: db/changelog/v-0.1/20201015-01-create-person-table.yaml
databaseChangeLog:
- changeSet:
id: 20201015-01
author: nursultankhalilov
changes:
- createTable:
tableName: persons
columns:
- column:
name: person_id
type: bigint
autoIncrement: true
constraints:
primaryKey: true
primaryKeyName: person_pk
nullable: false
- column:
name: person_name
type: VARCHAR(255)
constraints:
nullable: false
- column:
name: person_surname
type: VARCHAR(255)
constraints:
nullable: false
- column:
name: person_email
type: VARCHAR(255)
constraints:
nullable: false
unique: true
- column:
name: person_phone
type: VARCHAR(20)包结构:

我做错了什么?请帮帮忙
发布于 2020-10-16 12:42:04
我想在"-includeAll“后面应该有一个空格
https://stackoverflow.com/questions/64380216
复制相似问题