Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Add information about how to turn off Prisma/db operations during a Vercel deploy to reduce Postgres Storage use #10294

Merged
merged 4 commits into from Mar 27, 2024

Conversation

dthyresson
Copy link
Contributor

See: https://discord.com/channels/679514959968993311/1221799675586154577

For Redwood developers using Vercel and their Postgres storage option, the lower Hobby plans have some storage and write limits per month.

By default when redwood deploys, Prisma migrations and data migrations can be called -- which adds some overhead that can eat into those usage limits.

This PR adds a note to show how these options can be turned off during deploys and then folks can run migrations only when needed.

This resolved the user's issue noted above in the Discord chat.

@dthyresson dthyresson added the release:docs This PR only updates docs label Mar 25, 2024
@dthyresson dthyresson added this to the chore milestone Mar 25, 2024
@dthyresson dthyresson requested a review from jtoar March 25, 2024 22:53
@dthyresson dthyresson added the changesets-ok Override the changesets check label Mar 26, 2024
docs/docs/deploy/vercel.md Outdated Show resolved Hide resolved
@jtoar jtoar enabled auto-merge (squash) March 27, 2024 21:45
@jtoar jtoar disabled auto-merge March 27, 2024 21:49
@jtoar jtoar merged commit 5fa3d2f into main Mar 27, 2024
43 checks passed
@jtoar jtoar deleted the dt-vercel-postgres-write-limit-info branch March 27, 2024 21:49
thedavidprice pushed a commit that referenced this pull request Mar 28, 2024
…ng a Vercel deploy to reduce Postgres Storage use (#10294)

See: https://discord.com/channels/679514959968993311/1221799675586154577

For Redwood developers using Vercel and their Postgres storage option,
the lower Hobby plans have some storage and write limits per month.

By default when redwood deploys, Prisma migrations and data migrations
can be called -- which adds some overhead that can eat into those usage
limits.

This PR adds a note to show how these options can be turned off during
deploys and then folks can run migrations only when needed.

This resolved the user's issue noted above in the Discord chat.

---------

Co-authored-by: Dominic Saadi <dominiceliassaadi@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changesets-ok Override the changesets check release:docs This PR only updates docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants