Skip to main content

Variable: AUDIT_OUTBOX_MIGRATIONS_DIR

const AUDIT_OUTBOX_MIGRATIONS_DIR: string

Defined in: packages/audit-client/src/migrations.ts:14

The directory holding the outbox migrations (0050_audit_outbox.sql, 0051_audit_outbox_guard.sql). A module that records audit includes it, after the shared directory and before its own, and names it as shared so the migrator accepts its number:

migrate(owner, 'identity',
[SHARED_MIGRATIONS_DIR, AUDIT_OUTBOX_MIGRATIONS_DIR, ownDir],
[SHARED_MIGRATIONS_DIR, AUDIT_OUTBOX_MIGRATIONS_DIR]);