From c96a8d836a8e13052f0a455e98df918388bb8803 Mon Sep 17 00:00:00 2001 From: Kainoa Kanter Date: Tue, 18 Jul 2023 06:52:08 +0000 Subject: [PATCH] =?UTF-8?q?docs:=20=F0=9F=93=9D=20foundkey=20migration=20a?= =?UTF-8?q?pply=20patch=20correctly?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/migrate.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/migrate.md b/docs/migrate.md index c8be91d2b..9bfa10655 100644 --- a/docs/migrate.md +++ b/docs/migrate.md @@ -81,9 +81,9 @@ NODE_ENV=production pnpm run migrate ## FoundKey ```sh -cd packages/backend wget -O fk.patch https://codeberg.org/calckey/calckey/raw/branch/develop/docs/fk.patch git apply fk.patch +cd packages/backend LINE_NUM="$(npx typeorm migration:show -d ormconfig.js | grep -n uniformThemecolor1652859567549 | cut -d ':' -f 1)" NUM_MIGRATIONS="$(npx typeorm migration:show -d ormconfig.js | tail -n+"$LINE_NUM" | grep '\[X\]' | wc -l)"