Skip to content

Commit

Permalink
add index to relationship column
Browse files Browse the repository at this point in the history
  • Loading branch information
djones committed Apr 26, 2012
1 parent ea737c0 commit 46165d7
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -3,5 +3,6 @@ def change
add_column :responses, :content, :text
add_column :responses, :author, :string
add_column :responses, :post_id, :integer
add_index :responses, :post_id, :unique => true
end
end
end

0 comments on commit 46165d7

Please sign in to comment.