mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-21 19:53:50 +01:00
docs: 📝 foundkey migration apply patch correctly
This commit is contained in:
parent
161127c80e
commit
c96a8d836a
@ -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)"
|
||||
|
Loading…
Reference in New Issue
Block a user