rakeの履歴

RailsでDBを扱うコマンド

rake db:migrate

DBを挿入

rake db:drop:all

DB全削除

rake db:create:all

空のDBを作成