Package com.palmergames.bukkit.towny.db
Class SQLSchema
java.lang.Object
com.palmergames.bukkit.towny.db.SQLSchema
- Author:
- ElgarL
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidcleanup(Connection connection) Call after loading to remove any old database elements we no longer need.static voidinitTables(Connection cntx) Create and update database schema.
-
Constructor Details
-
SQLSchema
public SQLSchema()
-
-
Method Details
-
initTables
Create and update database schema.- Parameters:
cntx- a database connection
-
cleanup
Call after loading to remove any old database elements we no longer need.- Parameters:
connection- A connection to the database.
-