mirror of
https://github.com/n8n-io/n8n.git
synced 2026-06-01 09:17:08 +02:00
16 lines
679 B
Markdown
16 lines
679 B
Markdown
# AGENTS.md
|
|
|
|
Extra information specific to the `@n8n/db` package.
|
|
|
|
## Database migrations
|
|
|
|
For full guidance on authoring migrations — scaffolding, the pre-flight
|
|
checklist the `@n8n-io/migrations-review` team enforces, the
|
|
`MigrationContext` API reference, the DSL type mapping, and the detailed
|
|
rule catalogue — use the **`n8n:db-migrations`** skill.
|
|
|
|
Source-of-truth files the skill defers to:
|
|
- `packages/@n8n/db/src/migrations/migration-types.ts` — `MigrationContext`, `ReversibleMigration`, `IrreversibleMigration`
|
|
- `packages/@n8n/db/src/migrations/dsl/` — schema builder DSL
|
|
- `packages/@n8n/backend-test-utils/MIGRATION_TESTING.md` — migration testing helpers
|