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

to keep the database up to date as a developer I want automated schema migrations #65

Open
bionicles opened this issue Feb 1, 2020 · 0 comments

Comments

@bionicles
Copy link
Owner

this isn't easy if the database is in a private subnet. we'd need the ci/cd pipeline to ssh into a bastion host, copy the migrations, install a migration tool, and migrate the database

https://github.com/thomwright/postgres-migrations#readme

https://github.com/appleboy/ssh-action
scp -pr ~/migrations/. $USER@$HOST:/migrations

@bionicles bionicles added this to To do in triage issues Feb 1, 2020
@bionicles bionicles moved this from To do to In progress in triage issues Feb 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
triage issues
  
In progress
Development

No branches or pull requests

1 participant