n8n Database Migrations
Authors n8n database migrations with cross-database compatibility and strict TypeORM enforcement.
This skill provides specialized guidance for authoring database migrations within the n8n ecosystem, ensuring seamless evolution of data schemas across PostgreSQL and SQLite environments. It leverages a domain-specific language (DSL) to standardize column types and index management while enforcing a rigorous pre-flight checklist to prevent common production errors like illegal imports or inconsistent nullability. By automating scaffolding and validating migration-to-entity parity, it streamlines the process of adding columns, tables, and complex data backfills while maintaining strict architectural standards and ordering conventions.
주요 기능
01Automated migration scaffolding with strict timestamp and registration management
02Safety checks for SQLite table recreation and foreign key preservation
03Support for both reversible schema changes and irreversible data transformations
04Cross-database DSL for unified SQLite and PostgreSQL schema definitions
05Strict validation for schema-to-entity parity and TypeORM decorators
0618 GitHub stars
사용 사례
01Adding new database tables, columns, or indexes to the n8n core schema
02Performing complex data backfills and transformations across different database dialects
03Refactoring existing database structures while ensuring reverse-compatibility