Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This is modelled after Postgres sequences, which allows keeping track of the next number in a sequence within limits. This would allow you to create a sequence with a starting number of U13L1000 which increments by 1 up to U13L1999.

Creating a sequence must validate if the range overlaps with any existing sequences to avoid creating conflicts. A new sequence must throw a validation error if the maximum causes an overlap into another sequence in the schedule.

Creating a game, regardless of whether it’s published directly or a draft game, will pull the next sequence number available. Drafts will require sequences to be configured in the schedule as draft games cannot rely on the game ID sequence.

...