I followed
and then I imported data from mybb. But now, I want to reset DB so it becomes fresh.
How can I reset it on development mode?
I followed
and then I imported data from mybb. But now, I want to reset DB so it becomes fresh.
How can I reset it on development mode?
At your shell prompt in the discourse directory, running:
rake db:drop db:create db:migrate
(you may need to prefix that with bundle exec if you normally require that)
should do the trick