Package com.palmergames.bukkit.towny.db
Class SQLSchema
java.lang.Object
com.palmergames.bukkit.towny.db.SQLSchema
- Author:
- ElgarL
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
cleanup
(Connection connection) Call after loading to remove any old database elements we no longer need.static void
initTables
(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.
-