From 830565787a8775405ee7fdf6ca06cfb881329f5a Mon Sep 17 00:00:00 2001 From: Hazel K Date: Wed, 9 Oct 2024 23:41:26 -0400 Subject: [PATCH] docs: fix command to generate new migration --- CONTRIBUTING.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index a50b550b3a..755602ca34 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -529,7 +529,8 @@ enumの列挙の内容の削除は、その値をもつレコードを全て削 ### Migration作成方法 packages/backendで: ```sh -pnpm dlx typeorm migration:generate -d ormconfig.js -o +pnpm run build +pnpm dlx typeorm migration:generate -d ormconfig.js -o migration/ ``` - 生成後、ファイルをmigration下に移してください