docs: fix typo

This commit is contained in:
Namekuji 2023-07-10 12:50:54 -04:00
parent ce239565a7
commit 66fbca321c
No known key found for this signature in database
GPG key ID: 1D62332C07FBA532

View file

@ -83,9 +83,9 @@ NODE_ENV=production pnpm run migrate
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\]' | nl)"
NUM_MIGRATIONS="$(npx typeorm migration:show -d ormconfig.js | tail -n+"$LINE_NUM" | grep '\[X\]' | wc -l)"
for i in $(seq 1 $NUM_MIGRAIONS); do
for i in $(seq 1 $NUM_MIGRATIONS); do
npx typeorm migration:revert -d ormconfig.js
done