Reset the database (purge all), then seed a database

Is there a rake command to wipe out the data in the database tables?

How do I create a db:seed script to pre-fill data to my tables?

155
задан Blankman 16 September 2015 в 19:13
поделиться