mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-12-13 22:00:29 +05:30
add hsqldb driver in liquibase helper
This commit is contained in:
parent
6bd9c61791
commit
0bbe5506a7
@ -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 New Issue
Block a user