sequelize-typescript-migration-rafaeltab

JSON →
library 0.0.1-beta.9 ·javascript maintenance
verified Jun 7, 2026

This package is a migration tool for Sequelize with TypeScript decorators (sequelize-typescript), generating migration files by scanning model decorators to detect changes. Version 0.0.1-beta.9 is the latest, based on a fork fixing an issue in getDiffActionsFromTables.ts. It is inspired by Django's makemigration but for Sequelize, and it supports only sequelize-typescript model code (not raw Sequelize). The tool generates both up and down functions automatically, though down actions may sometimes fail due to relation ordering. Maintenance is sporadic, and the package is in beta with limited community support.