Class NicknamesOptimizationPatch


public class NicknamesOptimizationPatch extends Patch
Replaces user_id and server_id foreign keys with respective uuid fields in nickname table.

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

  • Constructor Details

    • NicknamesOptimizationPatch

      public NicknamesOptimizationPatch()
  • Method Details

    • hasBeenApplied

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

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