Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
devlato authored Jun 26, 2020
1 parent e7473c3 commit 2b1813f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,12 @@ Creates an empty time stamped file in the content-type's migrations folder.
Options:
-c, --content-type <content-type> content type name
-t, --migration-template <migration-template> migration file template path
-e, --extension <extension> generated migration file extension
```

Example: executing the command `ctf-migrate create create-post-model -c post` will create
a file named `./migrations/post/1513695986378-create-post.js` (the timestamp will vary)
Example: executing the command `ctf-migrate create create-post-model -c post -t template.ts -e .ts` will create
a file named `./migrations/post/1513695986378-create-post.ts` (the timestamp will vary)

### list

Expand Down

0 comments on commit 2b1813f

Please sign in to comment.