feat(ci) Fix migrations in CI (#7563)

* update CI

* add poetry run

* schema prisma
This commit is contained in:
Aarushi
2024-07-23 14:01:45 +01:00
committed by GitHub
parent a00df25092
commit 39afba6da8

View File

@@ -115,10 +115,10 @@ jobs:
run: poetry install
- name: Generate Prisma Client
run: poetry run prisma generate
run: poetry run prisma generate --schema postgres/schema.prisma
- name: Run Database Migrations
run: poetry run prisma migrate dev --name updates
run: poetry run prisma migrate dev --schema postgres/schema.prisma --name updates
env:
CONNECTION_STR: ${{ steps.postgres.outputs.connection-uri }}