A TypeScript-native migration engine for Sequelize that allows writing migrations as TypeScript files with full type safety. Current stable version is 0.0.6, last updated in 2021. It is a lightweight alternative to umzug, offering a simple API for up/down migrations with transaction support. Key differentiators: uses TypeScript directly without compilation step, supports queryInterface from Sequelize, and has a straightforward init() method. However, it is not actively maintained and may lack features like logging or CLI tools.
npm install sequelize-typescript-migration-engineNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initializes a MigrationEngine with Sequelize instance, migrations folder, and target version, then runs init() to apply migrations.
Use 'MigrationEngine' in imports.
Ensure ts-node is installed and configured.
Consider using umzug or a more recent migration tool.
Run 'npm install sequelize-typescript-migration-engine' and ensure it is in package.json.
Replace 'MigratorEngine' with 'MigrationEngine' in import and instantiation.
Ensure each migration file exports async functions named 'up' and 'down'.