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

    Methods inherited from class dev.esophose.playerparticles.database.DataMigration

    getRevision

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • migrate

      public void migrate​(DatabaseConnector connector, java.sql.Connection connection, java.lang.String tablePrefix) throws java.sql.SQLException
      Description copied from class: DataMigration
      Migrates the database to this migration stage
      Specified by:
      migrate in class DataMigration
      Parameters:
      connector - The connector for the database
      connection - The connection to the database
      tablePrefix - The prefix of the database
      Throws:
      java.sql.SQLException - Any error that occurs during the SQL execution