I don't want to delete my database structure, but I want to empty it, is there a simple command to do that?
Asked
Active
Viewed 46 times
0
-
1maybe this is what you are looking for? [TRUNCATE](http://stackoverflow.com/questions/7755389/rake-task-to-truncate-all-tables-in-rails-3) – albertogg Dec 27 '12 at 19:03
-
would it be: "rails db truncate" ??? – Brian Joseph Spinos Dec 27 '12 at 19:17
1 Answers
1
I'm not completely sure of this but try running rake -T on your project folder and see what task do you have.. you could try rake db:schema:load, if that doesn't work try with your own truncate task as stated ins THIS EXAMPLE