module Divider::Migrations

The schema of the queue, as rotor migrations (Rotor::Migration): an application adds Divider::Migrations.all to its migrator's list.

def migrate(repo: Rotor::Repo, app: Array[Type[Rotor::Migration]]) -> Void
  Rotor::Migrator.new(repo, app + Divider::Migrations.all).migrate
end

Their versions are fixed (2026110800000N), so that every database that ran one knows it by the same number; later versions of divider add migrations, never change these.

/home/runner/work/divider/divider/src/migrations.qz:13

Classes and modules

Class methods

def self.all -> Array[Type[Rotor::Migration]]

The migrations, in order.

/home/runner/work/divider/divider/src/migrations.qz:15