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