Conversation
… support custom schema Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
…to GHCR Co-authored-by: Cursor <cursoragent@cursor.com>
|
Welcome to Cal.diy, JOY (@JOY)! Thanks for opening this pull request. A few things to keep in mind:
A maintainer will review your PR soon. Thanks for contributing! |
Bugbot couldn't run - usage limit reachedBugbot is counted against Cursor usage for this user or team, and this run hit a usage or spend limit. A user or team admin can review and increase usage limits in the Cursor dashboard. (requestId: serverGenReqId_d1b110c0-b7a2-4dc9-b604-2b4a29871ce7) |
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.
Summary
Note
Medium Risk
Rewrites already-applied Prisma migration SQL and changes how every Prisma client selects a schema, which can break migrate/deploy on existing databases. GHCR publish is lower risk but still production-facing.
Overview
Enables deploying this Cal.com fork against a non-
publicPostgres schema (e.g. Supabaseschema=cal) and publishing images to GHCR.Prisma clients now parse
schemafrom the DB URL and pass it intoPrismaPg(webapppackages/prismaplus API v2 read/write services). Historical migrations drop hardcodedpublic.prefixes so objects are created in the search-path schema. Container startup skipswait-for-itwhenDATABASE_HOSTis unset.A new workflow builds and pushes
:latestand:shaimages toghcr.ioondev/main(and manual dispatch), with placeholder Next public URLs baked in at build time.Reviewed by Cursor Bugbot for commit 583c417. Bugbot is set up for automated code reviews on this repo. Configure here.