From 48d5b45e2197dd6eb4c2a5a6e588c0275a3c963c Mon Sep 17 00:00:00 2001 From: Micha Date: Wed, 21 May 2025 14:16:11 +0200 Subject: [PATCH 1/4] docs: update README with Prisma setup instructions --- README.md | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1fbb7bf..456bced 100644 --- a/README.md +++ b/README.md @@ -99,12 +99,20 @@ This project is built with a modern tech stack: 4. **Apply database migrations (Prisma):** - Ensure your Prisma schema (`prisma/schema.prisma`) is defined. + - Setup/update the database with these commands: + ```bash + yarn prisma:generate + ``` + ```bash + yarn prisa:db:push + ``` - Run the following command to apply migrations and generate Prisma Client: ```bash npx prisma migrate dev # You might be prompted to name your first migration. ``` - - (Optional: If you need to generate Prisma Client without running migrations, use `npx prisma generate`) + + Tipp: You can open the prisma database UI with ```yarn prisma:studio``` 5. **Run the development server:** From b2513609df3aa64789501af459d8509ef26d50ef Mon Sep 17 00:00:00 2001 From: Micha Date: Wed, 21 May 2025 14:29:52 +0200 Subject: [PATCH 2/4] docs: fix formatting in Prisma setup instructions --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 456bced..1f474b5 100644 --- a/README.md +++ b/README.md @@ -111,8 +111,8 @@ This project is built with a modern tech stack: npx prisma migrate dev # You might be prompted to name your first migration. ``` - - Tipp: You can open the prisma database UI with ```yarn prisma:studio``` + + Tipp: You can open the prisma database UI with `yarn prisma:studio` 5. **Run the development server:** From 84268878c3599bdb7c6b8c9f3982342ae138d688 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Tue, 27 May 2025 20:00:39 +0000 Subject: [PATCH 3/4] chore(deps): update docker/build-push-action digest to 2634353 --- .github/workflows/docker-build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 366e42c..5d8a383 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -40,7 +40,7 @@ jobs: echo "REPO=$(echo $GITHUB_REPOSITORY | tr '[:upper:]' '[:lower:]')" >>${GITHUB_ENV} - name: Build and push (pull_request) - uses: docker/build-push-action@1dc73863535b631f98b2378be8619f83b136f4a0 # v6 + uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6 if: github.event_name == 'pull_request' with: push: true @@ -48,7 +48,7 @@ jobs: cache-from: type=registry,ref=git.dominikstahl.dev/${{ env.REPO }}:buildcache - name: Build and push (push_tag) - uses: docker/build-push-action@1dc73863535b631f98b2378be8619f83b136f4a0 # v6 + uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6 if: github.event_name == 'push' && github.ref_type == 'tag' with: push: true @@ -56,7 +56,7 @@ jobs: cache-from: type=registry,ref=git.dominikstahl.dev/${{ env.REPO }}:buildcache - name: Build and push (push_branch) - uses: docker/build-push-action@1dc73863535b631f98b2378be8619f83b136f4a0 # v6 + uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6 if: github.event_name == 'push' && github.ref_type == 'branch' with: push: true From 095db2a28aaeda202badd297a1f035dfe2750641 Mon Sep 17 00:00:00 2001 From: Renovate Bot Date: Wed, 28 May 2025 12:00:23 +0000 Subject: [PATCH 4/4] chore(deps): update docker/build-push-action digest to 2634353 --- .github/workflows/docker-build.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 366e42c..5d8a383 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -40,7 +40,7 @@ jobs: echo "REPO=$(echo $GITHUB_REPOSITORY | tr '[:upper:]' '[:lower:]')" >>${GITHUB_ENV} - name: Build and push (pull_request) - uses: docker/build-push-action@1dc73863535b631f98b2378be8619f83b136f4a0 # v6 + uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6 if: github.event_name == 'pull_request' with: push: true @@ -48,7 +48,7 @@ jobs: cache-from: type=registry,ref=git.dominikstahl.dev/${{ env.REPO }}:buildcache - name: Build and push (push_tag) - uses: docker/build-push-action@1dc73863535b631f98b2378be8619f83b136f4a0 # v6 + uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6 if: github.event_name == 'push' && github.ref_type == 'tag' with: push: true @@ -56,7 +56,7 @@ jobs: cache-from: type=registry,ref=git.dominikstahl.dev/${{ env.REPO }}:buildcache - name: Build and push (push_branch) - uses: docker/build-push-action@1dc73863535b631f98b2378be8619f83b136f4a0 # v6 + uses: docker/build-push-action@263435318d21b8e681c14492fe198d362a7d2c83 # v6 if: github.event_name == 'push' && github.ref_type == 'branch' with: push: true