Class SessionsOptimizationPatch


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

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

  • Constructor Details

    • SessionsOptimizationPatch

      public SessionsOptimizationPatch()
  • Method Details

    • hasBeenApplied

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

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