[Design] Add Postgres client management code #5801
Open
+361
−13
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.
Overview
#5698
Adding (unused) postgres client lib to VsDesign for the upcoming conversion from sqlite.
Currently using the default setup and relying on the standard postgres environment variables, which are assigned accordingly in the Heroku dashboard (https://dashboard.heroku.com/apps/tmp-vxdesign-dev/settings).
Will eventually need a schema migration tool, but for now, just adding a
db:reset
pnpm script for dev.Testing Plan
Checklist
[ ] I have added logging where appropriate to any new user actions, system updates such as file reads or storage writes, or errors introduced.[ ] I have added a screenshot and/or video to this PR to demo the change[ ] I have added the "user_facing_change" label to this PR to automate an announcement in #machine-product-updates