Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docs/website/docs/01_the-app/02_models.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@ Migrations exist in `config/db/migrate` and you run them like so:
$ bin/hyperstack migrate
```

For generating a new migration file for modifying an existing model you can run:
```
bin/hyperstack g migration migration_name
```
This will create a new empty migration file for you to fill in the changes to your models.

## Configuration

Model configuration that's available to you is exciting because it controls all aspects of development, testing, and production, with a ton of goodies, coming from production experience.
Expand Down