From ec489c4b5d7ec0fa222d40c2236914b2fec11cca Mon Sep 17 00:00:00 2001 From: jandroav Date: Thu, 20 Jun 2024 09:35:07 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20(README.md):=20update=20Liquibas?= =?UTF-8?q?e=20configuration=20to=20use=20a=20specific=20changeLogFile=20p?= =?UTF-8?q?ath=20instead=20of=20the=20default=20configuration=20path?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/README.md b/README.md index 6546634..9088d2d 100644 --- a/README.md +++ b/README.md @@ -110,11 +110,10 @@ node-liquibase /Users/me/path/to/my/executable/for/liquibase import { LiquibaseConfig, Liquibase, - POSTGRESQL_DEFAULT_CONFIG, } from 'liquibase'; const myConfig: LiquibaseConfig = { - ...POSTGRESQL_DEFAULT_CONFIG, + changeLogFile: './changelog.xml', url: 'jdbc:postgresql://localhost:5432/node_liquibase_testing', username: 'yourusername', password: 'yoursecurepassword', @@ -134,10 +133,8 @@ doEet(); ```js const Liquibase = require('liquibase').Liquibase; -const POSTGRESQL_DEFAULT_CONFIG = require('liquibase').POSTGRESQL_DEFAULT_CONFIG; const myConfig = { - ...POSTGRESQL_DEFAULT_CONFIG, changeLogFile: './changelog.xml', url: 'jdbc:postgresql://localhost:5432/node_liquibase_testing', username: 'yourusername', @@ -242,7 +239,6 @@ Using the `liquibase` property on your config object. import { Liquibase, LiquibaseConfig, POSTGRESQL_DEFAULT_CONFIG } from 'liquibase'; const myConfig: LiquibaseConfig = { - ...POSTGRESQL_DEFAULT_CONFIG, changeLogFile: './changelog.xml', url: 'jdbc:postgresql://localhost:5432/node_liquibase_testing', username: 'yourusername', @@ -258,7 +254,6 @@ inst.status(); import { Liquibase, LiquibaseConfig, POSTGRESQL_DEFAULT_CONFIG } from 'liquibase'; const myConfig: LiquibaseConfig = { - ...POSTGRESQL_DEFAULT_CONFIG, changeLogFile: './changelog.xml', url: 'jdbc:postgresql://localhost:5432/node_liquibase_testing', username: 'yourusername',