added rake task to clear and re-seed the database on schedule

This commit is contained in:
Mike Kelley
2011-12-28 15:38:08 -07:00
parent ffcb2bb0b9
commit 61c9ddf2c3
3 changed files with 19 additions and 2 deletions

View File

@@ -33,7 +33,7 @@ ActiveRecord::Schema.define(:version => 20110808221332) do
end
create_table "posts", :force => true do |t|
t.string "body"
t.text "body"
t.integer "forum_id"
t.integer "topic_id"
t.integer "user_id"