Class WorldTimesOptimizationPatch


public class WorldTimesOptimizationPatch extends Patch
Replaces server_id foreign keys with server_uuid field in world times table.

This was to "reduce the amount of joins when querying sessions".

  • Constructor Details

    • WorldTimesOptimizationPatch

      public WorldTimesOptimizationPatch()
  • Method Details

    • hasBeenApplied

      public boolean hasBeenApplied()
      Specified by:
      hasBeenApplied in class Patch
    • applyPatch

      protected void applyPatch()
      Specified by:
      applyPatch in class Patch