What is the mysql equivalent to heroku pg:reset DATABASE?
18 views
Skip to first unread message
braini...@gmail.com
unread,
Feb 23, 2019, 6:18:43 PM2/23/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ruby on Rails: Talk
Hey Everyone,
I was just wondering if anyone knew the mysql equivalent to $ heroku pg:reset DATABASE.
Thank you
Walter Lee Davis
unread,
Feb 23, 2019, 7:21:36 PM2/23/19
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to rubyonra...@googlegroups.com
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.