mirror of
https://codeberg.org/yeentown/barkey
synced 2024-11-25 08:15:12 +00:00
docs: fix command to generate new migration
This commit is contained in:
parent
72a0f16b38
commit
830565787a
1 changed files with 2 additions and 1 deletions
|
@ -529,7 +529,8 @@ enumの列挙の内容の削除は、その値をもつレコードを全て削
|
|||
### Migration作成方法
|
||||
packages/backendで:
|
||||
```sh
|
||||
pnpm dlx typeorm migration:generate -d ormconfig.js -o <migration name>
|
||||
pnpm run build
|
||||
pnpm dlx typeorm migration:generate -d ormconfig.js -o migration/<migration name>
|
||||
```
|
||||
|
||||
- 生成後、ファイルをmigration下に移してください
|
||||
|
|
Loading…
Reference in a new issue