Thomas Kaul
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
2 additions and
2 deletions
-
prisma/baseline.sh
|
@ -1,6 +1,6 @@ |
|
|
#!/bin/sh |
|
|
#!/bin/sh |
|
|
|
|
|
|
|
|
#List all migration scripts based on folder name, and mark it as "applied" |
|
|
# List all migration scripts based on folder name, and mark it as "applied" |
|
|
|
|
|
|
|
|
for d in ./prisma/migrations/*/; do |
|
|
for d in ./prisma/migrations/*/; do |
|
|
mig=$(echo "$d" | sed 's/.\/prisma\/migrations\///' | sed 's/\///') |
|
|
mig=$(echo "$d" | sed 's/.\/prisma\/migrations\///' | sed 's/\///') |
|
|