Sign inGet started
–

n8n:db-migrations

by n8n-io/n8n · Coding & Development

Guides authors in writing and reviewing n8n database migrations using TypeORM and the schema DSL, covering cross-database compatibility, reversibility, and testing.

Lift · GLM-5.3-flash—untestable in our sandbox · why ↓
80
Trustsecurity · quality · license · upkeep
Scan Saferisk 0/100
License—metadata + link-out

What it does

Authors n8n database migrations. Use when creating or modifying files under packages/@n8n/db/src/migrations/, when the user asks to add a column, table, index, foreign key, or backfill, or when the user mentions DB migrations or TypeORM migrations.

#backend#database#migrations#n8n#sql#typeorm

Quality judgment

completeness
8.0/10
clarity
9.0/10
trigger quality
8.0/10
examples
8.5/10
structure
9.0/10
overall
8.5/10

The document provides comprehensive coverage of n8n database migration patterns, including directory structure, migration types, DSL usage, SQLite-specific risks, column type mapping, and a detailed pre-flight checklist. It is well-organized with clear sections and practical code examples. The only minor deduction is that some sections could be slightly more concise, but the depth and practical guidance more than justify the high score.

Files (1)

SKILL.md · 48.7 KB