mirror of https://github.com/ghostfolio/ghostfolio
committed by
GitHub
2 changed files with 9 additions and 1 deletions
@ -0,0 +1,8 @@ |
|||||
|
#!/bin/sh |
||||
|
|
||||
|
#List all migration scripts based on folder name, and mark it as "applied" |
||||
|
|
||||
|
for d in ./prisma/migrations/*/; do |
||||
|
mig=$(echo "$d" | sed 's/.\/prisma\/migrations\///' | sed 's/\///') |
||||
|
yarn prisma migrate resolve --applied $mig |
||||
|
done |
Loading…
Reference in new issue