Skip to content

Commit

Permalink
fix(ci): fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
luke-h1 committed Aug 12, 2024
1 parent 06b5d0d commit 16f4014
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/setup-testdb.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ set -e

trap 'echo -e "\033[31m✖ An error occurred. Exiting...\033[0m"; exit 1;' ERR

DATABASE_URL='postgresql://pets:pets@localhost:5555/pets?schema=public' pnpm db:generate && DATABASE_URL='postgresql://pets:pets@localhost:5555/pets?schema=public' pnpm prisma db push --force-reset --force && DATABASE_URL='postgresql://pets:pets@localhost:5555/pets?schema=public' pnpm db:generate && DATABASE_URL='postgresql://pets:pets@localhost:5555/pets?schema=public' pnpm db:migrate-dev && DATABASE_URL='postgresql://pets:pets@localhost:5555/pets?schema=public' pnpm prisma db push
DATABASE_URL='postgresql://pets:pets@localhost:5555/pets?schema=public' pnpm db:migrate-dev && DATABASE_URL='postgresql://pets:pets@localhost:5555/pets?schema=public' pnpm prisma db push
echo -e "\033[32m✔ Test Database migrated\033[0m"

0 comments on commit 16f4014

Please sign in to comment.