Class SQLSchema

java.lang.Object
com.palmergames.bukkit.towny.db.SQLSchema

public class SQLSchema extends Object
Author:
ElgarL
  • Constructor Details

    • SQLSchema

      public SQLSchema()
  • Method Details

    • initTables

      public static void initTables(Connection cntx)
      Create and update database schema.
      Parameters:
      cntx - a database connection
    • cleanup

      public static void cleanup(Connection connection)
      Call after loading to remove any old database elements we no longer need.
      Parameters:
      connection - A connection to the database.