Class Version10Patch
java.lang.Object
com.djrapitops.plan.storage.database.transactions.Transaction
com.djrapitops.plan.storage.database.transactions.init.OperationCriticalTransaction
com.djrapitops.plan.storage.database.transactions.patches.Patch
com.djrapitops.plan.storage.database.transactions.patches.Version10Patch
Table schema change patch for version 4.0.0 to support BungeeCord servers.
This patch makes the database compatible with further changes to the schema, bugs in this patch are possible, as the patch is untested against new schema.
Version 10 comes from "schema version" that was in use in the database to version changes before Patch system was implemented.
- See Also:
-
Field Summary
Fields inherited from class com.djrapitops.plan.storage.database.transactions.Transaction
attempts, dbType, success
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
protected void
boolean
Methods inherited from class com.djrapitops.plan.storage.database.transactions.patches.Patch
addColumn, allValuesHaveValueZero, columnVarcharLength, dropForeignKeys, dropTable, ensureNoForeignKeyConstraints, hasColumn, isApplied, performOperations, renameTable, shouldBeExecuted, wasApplied
Methods inherited from class com.djrapitops.plan.storage.database.transactions.init.OperationCriticalTransaction
executeTransaction
Methods inherited from class com.djrapitops.plan.storage.database.transactions.Transaction
commitMidTransaction, dbIsNotUnderHeavyLoad, execute, execute, executeOther, executeReturningId, executeSwallowingExceptions, getDBState, getName, getServerUUID, hasTable, query, toString, wasSuccessful
-
Constructor Details
-
Version10Patch
public Version10Patch()
-
-
Method Details
-
hasBeenApplied
public boolean hasBeenApplied()- Specified by:
hasBeenApplied
in classPatch
-
applyPatch
protected void applyPatch()- Specified by:
applyPatch
in classPatch
-
alterTablesToV10
public void alterTablesToV10()
-