stack
stack copied to clipboard
Source of Truth
[!IMPORTANT] Refactor codebase to support multiple sources of truth, including Neon, by updating Prisma client management and configuration handling.
- Behavior:
- Refactor to support multiple sources of truth, including Neon, by using
getPrismaClientForSourceOfTruth()inprisma-client.tsx.- Remove
@prisma/extension-accelerateand add@prisma/adapter-neoninpackage.json.- Update
codegenscript inpackage.jsonto removeSTACK_ACCELERATE_ENABLEDcondition.- Database:
- Replace
prismaClientwithgetPrismaClientForSourceOfTruth()in various files for database operations.- Add
getNeonPrismaClient()to manage Neon connections inprisma-client.tsx.- Config:
- Update config schemas in
schema.tsto includesourceOfTruthwith typesneonandhosted.- Adjust config handling in
config.tsxto accommodate new source of truth logic.- Misc:
- Remove unused enums
OAuthAccountMergeStrategyandProxiedOAuthProviderTypefromschema.prisma.- Minor updates to
README.mdand other documentation files.This description was created by
for 2604c27541f922419290b858562edeb49bba7da3. You can customize this summary. It will automatically update as commits are pushed.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| stack-backend | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jul 12, 2025 1:06am |
| stack-dashboard | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jul 12, 2025 1:06am |
| stack-demo | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jul 12, 2025 1:06am |
| stack-docs | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jul 12, 2025 1:06am |