Migy

JSON →
library 0.1.5 ·javascript
verified Jun 7, 2026

Easy migration tool for MySQL, Postgres, and SQLite databases. Current version 0.1.5. Migy offers a simple SQL-file-based migration system with rollback support, migration hashing for integrity verification, and works both as a standalone CLI and as part of an application. It supports popular database adapters (mysql2, postgres, sqlite3) and can be extended with custom adapters. Migrations are stored as .sql files with IDE-friendly syntax highlighting and support multiple queries per migration. Compared to alternatives like knex or db-migrate, migy is minimal and SQL-centric, without requiring a migration DSL or JavaScript-based migration definitions.