RunRemixDbOptions
Summary
Structured invocation options accepted by runRemixDb.
Signature
type RunRemixDbOptions =
| (DatabaseCommandOptions & {
command: 'migrate'
journalTable?: string
migrations: Migrations
to?: string
})
| RollbackCommandOptions
| (DatabaseCommandOptions & {
command: 'reset'
journalTable?: string
migrations: Migrations
seed?: Seed
})
| (DatabaseCommandOptions & { command: 'seed'; seed: Seed })
| (DatabaseCommandOptions & { command: 'status'; journalTable?: string; migrations: Migrations })
| (DatabaseCommandOptions & { command: 'wipe' })