added rake task to clear and re-seed the database on schedule
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
class CreatePostsTable < ActiveRecord::Migration
|
||||
def self.up
|
||||
create_table :posts, :force => true do |t|
|
||||
t.text :body
|
||||
t.text :body
|
||||
t.integer :forum_id
|
||||
t.integer :topic_id
|
||||
t.integer :user_id
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user