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
1 additions and
1 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 the directory name and mark the migration as "applied" |
|
|
|
|
|
|
|
|
for directory in ./prisma/migrations/*/; do |
|
|
for directory in ./prisma/migrations/*/; do |
|
|
migration=$(echo "$directory" | sed 's/.\/prisma\/migrations\///' | sed 's/\///') |
|
|
migration=$(echo "$directory" | sed 's/.\/prisma\/migrations\///' | sed 's/\///') |
|
|