Revert "chore(app): remove the duplicated prisma/ setup"#2621
Merged
Conversation
This reverts commit f7fb820.
claudfuen
pushed a commit
that referenced
this pull request
Apr 20, 2026
# [3.27.0](v3.26.1...v3.27.0) (2026-04-20) ### Bug Fixes * **devices:** flag stale device agents as non-compliant + CSV export ([#2612](#2612)) ([0d59e8f](0d59e8f)) * **integration-platform:** preserve VCS url fragments in python matcher ([f820738](f820738)) * **integration-platform:** use toml-aware comment stripping for pyproject.toml ([2cf8979](2cf8979)) * **integrations-catalog:** add global request pacing to prevent 429s ([0dfb793](0dfb793)) ### Features * add compliance timeline to overview (feature flagged) ([26c04d8](26c04d8)) * **integration-platform:** expand validation library detection for sanitized inputs check ([964cb1b](964cb1b)) * **integrations-catalog:** add public catalog ([ea297de](ea297de)) ### Reverts * Revert "chore(app): remove the duplicated prisma/ setup" ([#2621](#2621)) ([a1889a1](a1889a1))
Contributor
|
🎉 This PR is included in version 3.27.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This reverts commit f7fb820.
What does this PR do?
Visual Demo (For contributors especially)
A visual demonstration is strongly recommended, for both the original and new change (video / image - any one).
Video Demo (if applicable):
Image Demo (if applicable):
Mandatory Tasks (DO NOT REMOVE)
How should this be tested?
Checklist
Summary by cubic
Reverts the Prisma cleanup and restores an app-local
prisma/inapps/appso the client is generated beforenext build. Adds a postinstall/build flow to copy schemas and patch generated extensions.Refactors
apps/app/prisma/withprisma.config.tspointing toprisma/schemaandDATABASE_URL.prisma/schema/schema.prismathat generates the client tosrc/generated/prismaand enablespostgresqlExtensions(pgcrypto).db:getschema(copies model files frompackages/db),db:generate,build:docker,prebuild,postinstall; they runprisma generateandpackages/db/scripts/fix-generated-extensions.jsonsrc/generated/prisma..gitignoreto exclude generated client and copied schema files (onlyschema.prismais committed).Migration
DATABASE_URLis set.postinstall(or runbun run db:generate).build:dockerso the client is generated beforenext build.Written for commit 5ca5050. Summary will update on new commits.