From 195a3d8ff11af259a16016fb50a8dff17aaa7eff Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Mon, 6 Jan 2025 00:31:31 +0530 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=96=20Apply=20quick-fixes=20by=20Qodan?= =?UTF-8?q?a=20(#1614)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat : initial commit of jooq-jpa integration * feat : implement code review comments * implement code review comments * 🤖 Apply quick-fixes by Qodana --------- Co-authored-by: Raja Kolli Co-authored-by: qodana-bot --- .../db/changelog/db.changelog-master.yaml | 8 +- .../db/changelog/db.changelog-master.yaml | 6 +- .../01-create_reactive_posts_table.yaml | 100 +++++++++--------- 3 files changed, 57 insertions(+), 57 deletions(-) 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}