Class _1_InitialMigration

java.lang.Object
dev.esophose.playerparticles.database.DataMigration
dev.esophose.playerparticles.database.migrations._1_InitialMigration

public class _1_InitialMigration
extends DataMigration
  • Constructor Summary

    Constructors 
    Constructor Description
    _1_InitialMigration()  
  • 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