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

Setup migration on command #50

Open
manuelurenah opened this issue Jul 8, 2019 · 1 comment
Open

Setup migration on command #50

manuelurenah opened this issue Jul 8, 2019 · 1 comment
Labels

Comments

@manuelurenah
Copy link
Contributor

Is your feature request related to a problem? Please describe.

As of now, the migration process runs automatically when the clay instance is started which could introduce potential threats that could eat up all of the DB resources grinding up things to a halt.

Describe the solution you'd like

One way we could avoid this is create a command to run migrations when the user demands it instead of running them automatically on startup. It could be a claycli command which triggers the migrations from amphora-storage-postgres (i.e.: clay migrate <namespace>) that still haven't been completed. This would require changes in amphora-storage-postgres and claycli.

Additional context

This issue was raised after developing and discussing about issue #33

@TTaitFoster
Copy link

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants