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
|
||||
|
||||
Reference in New Issue
Block a user