A Sails.js generator that creates both a model and a database migration for your Sails app. This package is deprecated as it targets Sails v0.9/v0.10 and relies on the now-removed built-in migrations; for current Sails versions (v1.0+), use the sails-hook-orm or manual migration tools instead. The generator is installed via npm and invoked with 'sails generate model'.
npm install sails-generate-model-with-migrationsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Installs the generator and uses the Sails CLI to generate a model and migration for a 'User' entity.
Use sails-hook-orm with Knex.js or other migration libraries.
Ensure you run 'sails generate model' from the root of a Sails app.
Manually update migrations to use Knex or other migration syntax.
Run 'npm install sails-generate-model-with-migrations' in your Sails app directory.
Check your Sails version and ensure compatibility; use a different generator for newer Sails.