Class KillsOptimizationPatch


public class KillsOptimizationPatch extends Patch
Replaces killer_id, victim_id and server_id foreign keys with respective uuid fields in kills table.

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

  • Constructor Details

    • KillsOptimizationPatch

      public KillsOptimizationPatch()
  • Method Details

    • hasBeenApplied

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

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