1.3.0 • Published 7 years ago

sails-generate-models v1.3.0

Weekly downloads
4
License
MIT
Repository
github
Last release
7 years ago

Sails-generate-models

Generate models (and controllers) based on your database schema.

Warning

This was built for a specific task, and has only been tested on MySQL.

Usage

First install globally:

npm i -g sails-generate-models

Then in your sails project root you can run:

sails-generate-models

Options

  • --path=/path/to/sails-project (defaults to cwd)
  • --connection=connectionToUse (defaults to default connection)
  • --table=tableToGenerateFor (defaults to all)
  • --database=databaseToGenerateFor (defaults to default connection's db)
  • --controller (create controller, too? Defaults to controller)
1.3.0

7 years ago

1.2.1

7 years ago

1.2.0

7 years ago

1.1.0

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago