diff --git a/batch-boot-jpa-sample/src/main/resources/db/changelog/db.changelog-master.yaml b/batch-boot-jpa-sample/src/main/resources/db/changelog/db.changelog-master.yaml index 8d0db6788..79591ef1f 100644 --- a/batch-boot-jpa-sample/src/main/resources/db/changelog/db.changelog-master.yaml +++ b/batch-boot-jpa-sample/src/main/resources/db/changelog/db.changelog-master.yaml @@ -1,29 +1,29 @@ -databaseChangeLog: - - includeAll: - path: migration/ - errorIfMissingOrEmpty: true - relativeToChangelogFile: true - - - changeSet: - dbms: postgresql - id: create-spring-batch-metadata - author: raja - changes: - - sqlFile: - encoding: UTF-8 - path: classpath:/org/springframework/batch/core/schema-postgresql.sql - relativeToChangelogFile: false - splitStatements: true - stripComments: true - - - changeSet: - dbms: h2 - id: create-spring-batch-metadata - author: raja - changes: - - sqlFile: - encoding: UTF-8 - path: classpath:/org/springframework/batch/core/schema-h2.sql - relativeToChangelogFile: false - splitStatements: true +databaseChangeLog: + - includeAll: + path: migration/ + errorIfMissingOrEmpty: true + relativeToChangelogFile: true + + - changeSet: + dbms: postgresql + id: create-spring-batch-metadata + author: raja + changes: + - sqlFile: + encoding: UTF-8 + path: classpath:/org/springframework/batch/core/schema-postgresql.sql + relativeToChangelogFile: false + splitStatements: true + stripComments: true + + - changeSet: + dbms: h2 + id: create-spring-batch-metadata + author: raja + changes: + - sqlFile: + encoding: UTF-8 + path: classpath:/org/springframework/batch/core/schema-h2.sql + relativeToChangelogFile: false + splitStatements: true stripComments: true \ No newline at end of file diff --git a/boot-api-archunit-sample/src/main/resources/db/changelog/db.changelog-master.yaml b/boot-api-archunit-sample/src/main/resources/db/changelog/db.changelog-master.yaml index 8428c6cbf..7e9e64aa4 100644 --- a/boot-api-archunit-sample/src/main/resources/db/changelog/db.changelog-master.yaml +++ b/boot-api-archunit-sample/src/main/resources/db/changelog/db.changelog-master.yaml @@ -1,5 +1,5 @@ -databaseChangeLog: - - includeAll: - path: migration/ - errorIfMissingOrEmpty: true +databaseChangeLog: + - includeAll: + path: migration/ + errorIfMissingOrEmpty: true relativeToChangelogFile: true \ No newline at end of file diff --git a/boot-rabbitmq-thymeleaf/src/main/resources/db/changelog/db.changelog-master.yaml b/boot-rabbitmq-thymeleaf/src/main/resources/db/changelog/db.changelog-master.yaml index 49d6aea57..dfc7af962 100644 --- a/boot-rabbitmq-thymeleaf/src/main/resources/db/changelog/db.changelog-master.yaml +++ b/boot-rabbitmq-thymeleaf/src/main/resources/db/changelog/db.changelog-master.yaml @@ -1,3 +1,3 @@ -databaseChangeLog: - - include: +databaseChangeLog: + - include: file: db/changelog/01-create-tables.xml \ No newline at end of file diff --git a/jpa/boot-hibernate2ndlevelcache-sample/src/main/resources/redisson/redisson-dev.yaml b/jpa/boot-hibernate2ndlevelcache-sample/src/main/resources/redisson/redisson-dev.yaml index 29fdcddcc..ab834b4cb 100644 --- a/jpa/boot-hibernate2ndlevelcache-sample/src/main/resources/redisson/redisson-dev.yaml +++ b/jpa/boot-hibernate2ndlevelcache-sample/src/main/resources/redisson/redisson-dev.yaml @@ -1,2 +1,2 @@ -singleServerConfig: - address: "redis://localhost:6379" +singleServerConfig: + address: "redis://localhost:6379" diff --git a/jpa/boot-read-replica-postgresql/src/main/resources/db/changelog/db.changelog-master.yaml b/jpa/boot-read-replica-postgresql/src/main/resources/db/changelog/db.changelog-master.yaml index 51647818a..bc790d65b 100644 --- a/jpa/boot-read-replica-postgresql/src/main/resources/db/changelog/db.changelog-master.yaml +++ b/jpa/boot-read-replica-postgresql/src/main/resources/db/changelog/db.changelog-master.yaml @@ -1,3 +1,3 @@ -databaseChangeLog: - - include: - file: db/changelog/changelog.sql +databaseChangeLog: + - include: + file: db/changelog/changelog.sql diff --git a/jpa/keyset-pagination/boot-data-window-pagination/src/main/resources/db/changelog/db.changelog-master.yaml b/jpa/keyset-pagination/boot-data-window-pagination/src/main/resources/db/changelog/db.changelog-master.yaml index 8428c6cbf..7e9e64aa4 100644 --- a/jpa/keyset-pagination/boot-data-window-pagination/src/main/resources/db/changelog/db.changelog-master.yaml +++ b/jpa/keyset-pagination/boot-data-window-pagination/src/main/resources/db/changelog/db.changelog-master.yaml @@ -1,5 +1,5 @@ -databaseChangeLog: - - includeAll: - path: migration/ - errorIfMissingOrEmpty: true +databaseChangeLog: + - includeAll: + path: migration/ + errorIfMissingOrEmpty: true relativeToChangelogFile: true \ No newline at end of file diff --git a/jpa/multitenancy/partition/src/main/resources/db/changelog/db.changelog-master.yaml b/jpa/multitenancy/partition/src/main/resources/db/changelog/db.changelog-master.yaml index ed1dd1875..9baa80cea 100644 --- a/jpa/multitenancy/partition/src/main/resources/db/changelog/db.changelog-master.yaml +++ b/jpa/multitenancy/partition/src/main/resources/db/changelog/db.changelog-master.yaml @@ -1,3 +1,3 @@ -databaseChangeLog: - - include: - file: db/changelog/db.changelog-sql-db.sql +databaseChangeLog: + - include: + file: db/changelog/db.changelog-sql-db.sql diff --git a/r2dbc/boot-r2dbc-sample/src/main/resources/db/changelog/migration/01-create_reactive_posts_table.yaml b/r2dbc/boot-r2dbc-sample/src/main/resources/db/changelog/migration/01-create_reactive_posts_table.yaml index 715da2404..be1298e4c 100644 --- a/r2dbc/boot-r2dbc-sample/src/main/resources/db/changelog/migration/01-create_reactive_posts_table.yaml +++ b/r2dbc/boot-r2dbc-sample/src/main/resources/db/changelog/migration/01-create_reactive_posts_table.yaml @@ -1,50 +1,50 @@ -# https://docs.liquibase.com/concepts/changelogs/yaml-format.html -databaseChangeLog: - - property: - name: stringType - value: text - dbms: postgres - - property: - name: stringType - value: varchar(255) - dbms: '!postgres' - - changeSet: - author: appUser - id: createTable-reactive_posts - changes: - - createSequence: - sequenceName: reactive_posts_seq - incrementBy: 50 - startValue: 1 - - createTable: - tableName: reactive_posts - columns: - - column: - name: id - type: bigint - defaultValueSequenceNext: reactive_posts_seq - constraints: - primaryKey: true - nullable: false - - column: - name: title - type: ${stringType} - constraints: - nullable: false - - column: - name: content - type: ${stringType} - constraints: - nullable: false - - column: - name: created_at - type: timestamptz - - column: - name: created_by - type: ${stringType} - - column: - name: updated_at - type: timestamptz - - column: - name: updated_by - type: ${stringType} +# https://docs.liquibase.com/concepts/changelogs/yaml-format.html +databaseChangeLog: + - property: + name: stringType + value: text + dbms: postgres + - property: + name: stringType + value: varchar(255) + dbms: '!postgres' + - changeSet: + author: appUser + id: createTable-reactive_posts + changes: + - createSequence: + sequenceName: reactive_posts_seq + incrementBy: 50 + startValue: 1 + - createTable: + tableName: reactive_posts + columns: + - column: + name: id + type: bigint + defaultValueSequenceNext: reactive_posts_seq + constraints: + primaryKey: true + nullable: false + - column: + name: title + type: ${stringType} + constraints: + nullable: false + - column: + name: content + type: ${stringType} + constraints: + nullable: false + - column: + name: created_at + type: timestamptz + - column: + name: created_by + type: ${stringType} + - column: + name: updated_at + type: timestamptz + - column: + name: updated_by + type: ${stringType}