mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-08-14 23:51:41 +00:00
add hsqldb driver in liquibase helper
This commit is contained in:
parent
6bd9c61791
commit
0bbe5506a7
1 changed files with 2 additions and 0 deletions
|
@ -28,6 +28,8 @@ public class LiquibaseHelper {
|
||||||
|
|
||||||
// register YugabyteDB database
|
// register YugabyteDB database
|
||||||
DatabaseFactory.getInstance().register(new liquibase.ext.yugabytedb.database.YugabyteDBDatabase());
|
DatabaseFactory.getInstance().register(new liquibase.ext.yugabytedb.database.YugabyteDBDatabase());
|
||||||
|
// register HsqlDatabase database
|
||||||
|
DatabaseFactory.getInstance().register(new liquibase.database.core.HsqlDatabase());
|
||||||
|
|
||||||
Database database = DatabaseFactory.getInstance().findCorrectDatabaseImplementation(new JdbcConnection(DriverManager.getConnection(url, username, password)));
|
Database database = DatabaseFactory.getInstance().findCorrectDatabaseImplementation(new JdbcConnection(DriverManager.getConnection(url, username, password)));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue