Skip to content

Commit

Permalink
Update SeaORM/docs/03-migration/02-writing-migration.md
Browse files Browse the repository at this point in the history
  • Loading branch information
tyt2y3 authored Jan 29, 2023
1 parent cf1a4d7 commit 0098ce6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SeaORM/docs/03-migration/02-writing-migration.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Each migration contains two methods: `up` and `down`. The `up` method is used to
Generate a new migration file by executing `sea-orm-cli migrate generate` command.

```shell
sea-orm-cli migrate generate NAME_OF_MIGRATION
sea-orm-cli migrate generate NAME_OF_MIGRATION [--local-time]

# E.g. to generate `migration/src/m20220101_000001_create_table.rs` shown below
sea-orm-cli migrate generate create_table
Expand Down

0 comments on commit 0098ce6

Please sign in to comment.