A generator plugin for generating new migration files in JavaScript.
npm install @emigrate/plugin-generate-js
pnpm add @emigrate/plugin-generate-js
yarn add @emigrate/plugin-generate-js
bun add @emigrate/plugin-generate-js
{ "dependencies": { "@emigrate/plugin-generate-js": "*" }}
npx emigrate new --plugin generate-js create some fancy table
pnpm emigrate new --plugin generate-js create some fancy table
yarn emigrate new --plugin generate-js create some fancy table
bunx --bun emigrate new --plugin generate-js create some fancy table
{ "scripts": { "emigrate": "emigrate" }}
deno task emigrate new --plugin generate-js create some fancy table
For more information see the new command’s documentation.
new