Ruby on Rails
Saturday, February 23, 2019
Thank you Walter. What if I am performing the task from a command line?
On Saturday, February 23, 2019 at 7:21:36 PM UTC-5, Walter Lee Davis wrote:
-- On Saturday, February 23, 2019 at 7:21:36 PM UTC-5, Walter Lee Davis wrote:
You can use rake db:reset in your Rails root, with the correct RAILS_ENV= set in the same line. Your database user (as configured in the database.yml file) will have to have the authority to drop the database.
Walter
> On Feb 23, 2019, at 6:18 PM, braini...@gmail.com wrote:
>
> Hey Everyone,
>
> I was just wondering if anyone knew the mysql equivalent to $ heroku pg:reset DATABASE.
>
> Thank you
>
>
> --
> You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-ta...@googlegroups.com .
> To post to this group, send email to rubyonra...@googlegroups.com .
> To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/ .80629938-6c4d-435e-8e3a- ea0077a8dad0%40googlegroups. com
> For more options, visit https://groups.google.com/d/optout .
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/face91e8-6313-41f7-9209-09db2bd9652c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment