Files
grecia/db/migrate/20170514192303_add_balloted_heading_id_to_users.rb
Javi Martín 4b1cbb7db6 Use Rails 5 conventions in ballot migrations
These migrations and models were added after the Rails 5 branch was
created but before it was merged.
2019-04-24 19:24:01 +02:00

6 lines
156 B
Ruby

class AddBallotedHeadingIdToUsers < ActiveRecord::Migration[4.2]
def change
add_column :users, :balloted_heading_id, :integer, default: nil
end
end