Creates and versions the tables owned by Docket's PostgreSQL backend.
Schema version 1 contains durable graphs, runs, and events. Version 2 adds the admission-mode policy row, claim partitions, the authoritative unfinished-scope schedule, sticky logical-run admission, and supporting indexes. Every step is an ordinary transactional migration.
Summary
Functions
@spec down(keyword()) :: :ok
@spec migrated_version(keyword() | map()) :: non_neg_integer()
@spec up(keyword()) :: :ok