Class LiquibaseDatabaseUpdater
- java.lang.Object
-
- be.yildizgames.module.database.updater.LiquibaseDatabaseUpdater
-
- All Implemented Interfaces:
DatabaseUpdater
public class LiquibaseDatabaseUpdater extends Object implements DatabaseUpdater
Liquibase implementation to update the database schema.- Author:
- Grégory Van den Borre
-
-
Method Summary
Modifier and Type Method Description static LiquibaseDatabaseUpdaterfromConfigurationPath(String path)voidupdate(be.yildizgames.module.database.DataBaseConnectionProvider provider)Update the schema.
-
-
-
Method Detail
-
fromConfigurationPath
public static LiquibaseDatabaseUpdater fromConfigurationPath(String path)
-
update
public final void update(be.yildizgames.module.database.DataBaseConnectionProvider provider) throws SQLExceptionDescription copied from interface:DatabaseUpdaterUpdate the schema.- Specified by:
updatein interfaceDatabaseUpdater- Parameters:
provider- Database connection provider.- Throws:
SQLException- If something fails during the update.
-
-