Class NicknameLastSeenPatch
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.NicknameLastSeenPatch
Adds last_seen to nickname table by populating it with the data in actions table, and removes the actions table.
Actions table contained nickname change events and change to "last seen" saved space on the interface.
-
Field Summary
Fields inherited from class com.djrapitops.plan.storage.database.transactions.Transaction
attempts, dbType, success -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.djrapitops.plan.storage.database.transactions.patches.Patch
addColumn, allValuesHaveValueZero, columnVarcharLength, dropForeignKeys, dropTable, ensureNoForeignKeyConstraints, hasColumn, isApplied, performOperations, renameTable, shouldBeExecuted, wasAppliedMethods inherited from class com.djrapitops.plan.storage.database.transactions.init.OperationCriticalTransaction
executeTransactionMethods 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
-
NicknameLastSeenPatch
public NicknameLastSeenPatch()
-
-
Method Details
-
hasBeenApplied
public boolean hasBeenApplied()- Specified by:
hasBeenAppliedin classPatch
-
applyPatch
protected void applyPatch()- Specified by:
applyPatchin classPatch
-