mirror of
https://github.com/TeamPiped/Piped-Backend.git
synced 2024-12-13 13:50:28 +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
|
||||
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)));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user