Class _2_Add_Data_Columns
java.lang.Object
dev.esophose.playerparticles.database.DataMigration
dev.esophose.playerparticles.database.migrations._2_Add_Data_Columns
public class _2_Add_Data_Columns extends DataMigration
-
Constructor Summary
Constructors Constructor Description _2_Add_Data_Columns()
-
Method Summary
Modifier and Type Method Description void
migrate(DatabaseConnector connector, java.sql.Connection connection, java.lang.String tablePrefix)
Migrates the database to this migration stage
-
Constructor Details
-
_2_Add_Data_Columns
public _2_Add_Data_Columns()
-
-
Method Details
-
migrate
public void migrate(DatabaseConnector connector, java.sql.Connection connection, java.lang.String tablePrefix) throws java.sql.SQLExceptionDescription copied from class:DataMigration
Migrates the database to this migration stage- Specified by:
migrate
in classDataMigration
- Parameters:
connector
- The connector for the databaseconnection
- The connection to the databasetablePrefix
- The prefix of the database- Throws:
java.sql.SQLException
- Any error that occurs during the SQL execution
-