Interface MigrationRepository<Migration>

Type Parameters

  • Migration

Hierarchy

  • MigrationRepository

Properties

allMigrations: (() => Migration[])

Type declaration

    • (): Migration[]
    • Returns Migration[]

db: Db
migrations: Map<number, Migration>
register: ((migration: Migration) => void)

Type declaration

    • (migration: Migration): void
    • Parameters

      • migration: Migration

      Returns void