n8n/packages/@n8n/db/AGENTS.md
Eugene a2faaf1091
chore: Add db-migrations skill for Claude Code (no-changelog) (#30648)
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-22 14:33:51 +00:00

679 B

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.tsMigrationContext, ReversibleMigration, IrreversibleMigration
  • packages/@n8n/db/src/migrations/dsl/ — schema builder DSL
  • packages/@n8n/backend-test-utils/MIGRATION_TESTING.md — migration testing helpers