merge: CONTRIBUTING.md: fix command to generate new migration (resolves #727) (!673)

View MR for information: https://activitypub.software/TransFem-org/Sharkey/-/merge_requests/673

Closes #727

Approved-by: Marie <github@yuugi.dev>
Approved-by: Tess K <me@thvxl.se>
This commit is contained in:
Marie 2024-10-13 00:13:49 +00:00
commit 75ed3843fa
1 changed files with 2 additions and 1 deletions

View File

@ -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下に移してください