Files
grecia/db/migrate/20180704095538_add_physical_to_budget_ballot.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

7 lines
212 B
Ruby

class AddPhysicalToBudgetBallot < ActiveRecord::Migration[4.2]
def change
add_column :budget_ballots, :physical, :boolean, default: false
add_column :budget_ballots, :poll_ballot_id, :integer
end
end