Class FlywayMigration
java.lang.Object
br.com.pethub.jdbc.FlywayMigration
This class is responsible for managing the Flyway database migration.
It reads the database configuration from a properties file and uses it to establish a connection and perform the migration.
- Author:
- Daniel Fernandes
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
FlywayMigration
public FlywayMigration()
-
-
Method Details
-
main
The main method that initiates the Flyway migration process. It reads the database configuration from a properties file, establishes a connection, and performs the migration.- Parameters:
args
- Command line arguments
-