Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 0c242cb7fe
Fetching contributors…

Cannot retrieve contributors at this time

6 lines (5 sloc) 0.126 kb
class ChangeVoteTableColumns < ActiveRecord::Migration
def change
rename_column :votes, :post_id, :votable_id
end
end
Jump to Line
Something went wrong with that request. Please try again.