A Sails.js generator plugin that creates migration files via `sails generate migration`. Version 1.1.2 is the latest stable release, updated infrequently. It allows customization by overriding the default generators or adding new ones. Suitable for teams needing consistent migration templates. Works with Sails >= 1.0.
npm install sails-generate-migrationNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Installs the generator, configures .sailsrc, and runs the generator to create a migration file.
Add the modules.migration entry to .sailsrc as shown in the README.
Install '@faou/sails-generate-migration' instead of 'sails-generate-migration'.
Point the modules.migration to a local path (e.g., './generators/migration') for custom templates.
Ensure sails-generate-migration is installed and configured in .sailsrc under modules.migration.