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

chore: adapt database name to repository name #50

Merged
merged 1 commit into from
Oct 22, 2023
Merged

Conversation

EduardoSimon
Copy link
Owner

A new makefile target has been added to connect to the postgres instance.

This is a BREAKING CHANGE for anyone using the app in a production environment.

The steps to fix it are:

  1. Create a dump. pg_dump <your_posgtres> ynab-clone-prod > prod_dump
  2. Initialize the app pointing to main. This will create an empty database.
  3. Feed that dump into the newly created db. psql --set ON_ERROR_STOP=on budget-io-prod < prod_dump

A new makefile target has been added to connect to the postgres
instance.

This is a BREAKING CHANGE for anyone using the app in a production
environment.

The steps to fix it are:
1. Create a dump. `pg_dump <your_posgtres> ynab-clone-prod > prod_dump`
2. Initialize the app pointing to main. This will create an empty
   database.
3. Feed that dump into the newly created db. `psql --set
   ON_ERROR_STOP=on budget-io-prod < prod_dump`
@EduardoSimon EduardoSimon self-assigned this Oct 22, 2023
@EduardoSimon EduardoSimon merged commit ecb049b into main Oct 22, 2023
2 checks passed
@EduardoSimon EduardoSimon deleted the rename-dbs branch October 22, 2023 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant