Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

sails-generate-model-with-migrations

terminalvelocity721MIT1.0.0

Generate a model and a migration for a Sails app.

seeds, model, generator, sails, generate, plugin, migration

readme

image_squidhome@2x.png

sails-generate-model-with-migrations

Generate a model and a migration for a Sails app.

Installation

Certain generators are installed by default in Sails, but they can be overridden. Check the Sails docs for information on installing generator overrides / custom generators.

Production Usage

On the command line
$ sails generate model