-
-
Notifications
You must be signed in to change notification settings - Fork 97
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
Reset DB #141
Comments
maybe
|
Right, the actual command required to do it right now is not very complicated. In the end, pg:reset could certainly just execute a command similar to that. I still think having the pg:reset command would just simplify things. |
@fgblomqvist but |
Of course, but why do we even have this whole addon then? PSQL is much more useful, you can achieve every single thing with it. You're missing my point completely. |
@fgblomqvist Would you be willing to come up with a PR for this functionality? |
I haven't been using Dokku for a few months and currently don't have any environment set up for testing something like this. If this still hasn't been created next time I set one up I can definitely give it a try, but yeah, not now. (I do remember taking a look at it back in May but I think I concluded that I needed to get a bit more familiar with the code base before I could do anything) |
@fgblomqvist yes PSQL is more useful, but you must enter an interactive environment. and you can not run some command quietly. |
@pynixwang Wrong. |
@fgblomqvist dokku postgresql has no |
Thats actually not true. We use it here. For the purposes of this issue, I am on-board with the feature. If someone wants to implement it, great. Otherwise, I'd appreciate keeping the chatter to a minimum, I get a ton of GH notifications and its hard to keep up sometimes :( |
manual alternative
|
Closing as there is an in-progress PR for this. |
Heroku has the command pg:reset that just resets a db. This is useful when e.g. cloning a DB from production to staging regularly (and automatically).
The text was updated successfully, but these errors were encountered: