clarion/db/migrate/20161010170711_add_vote_dat...

7 lines
171 B
Ruby

class AddVoteDataToEvents < ActiveRecord::Migration[4.2]
def change
add_column :events, :number_of_votes, :integer
add_column :events, :rank, :integer
end
end