Skip to content

Commit

Permalink
Add debug.
Browse files Browse the repository at this point in the history
  • Loading branch information
FireMasterK committed Aug 14, 2023
1 parent 66abab9 commit 05b2bee
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/me/kavin/piped/utils/LiquibaseHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public static void init() throws Exception {
DriverManager.registerDriver(new org.postgresql.Driver());

Database database = DatabaseFactory.getInstance().findCorrectDatabaseImplementation(new JdbcConnection(DriverManager.getConnection(url, username, password)));
System.out.println("DB name: " + database.getShortName());

try (Liquibase liquibase = new Liquibase("changelog/db.changelog-master.xml", new ClassLoaderResourceAccessor(), database)) {

Expand Down

0 comments on commit 05b2bee

Please sign in to comment.