{"library":"mysql-migrator","type":"library","category":null,"description":"mysql-migrator is an npm package for managing MySQL/MariaDB database migrations and data seeding in Node.js projects, currently at version 2.0.0. It provides a simple CLI-like interface to create and run migration and seeding files with built-in rollback support. Key differentiators include support for both ES6 and CommonJS module systems, a straightforward API using a Migrator class, and built-in table creation/drop helpers via the tbl object. The package is actively maintained and integrates directly with npm scripts for ease of use.","language":"javascript","status":"active","version":"2.0.0","tags":["javascript","mysql-migrations","migrations","seedings","nodejs-migration","mysql-migration"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install mysql-migrator","imports":["import { Migrator } from 'mysql-migrator'","import { Output } from 'mysql-migrator'","module.exports = { up: async (tbl) => { ... } }","module.exports = { up: async (query) => { ... } }"]},{"cmd":"yarn add mysql-migrator","imports":[]},{"cmd":"pnpm add mysql-migrator","imports":[]}],"homepage":"https://github.com/helloakn/mysql-migrator#readme","github":"https://github.com/helloakn/mysql-migrator","docs":null,"changelog":null,"pypi":null,"npm":"mysql-migrator","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}