Files
grecia/db/migrate/20180621182723_create_poll_ballot_sheets.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

11 lines
275 B
Ruby

class CreatePollBallotSheets < ActiveRecord::Migration[4.2]
def change
create_table :poll_ballot_sheets do |t|
t.text :data
t.integer :poll_id, index: true
t.integer :officer_assignment_id, index: true
t.timestamps null: false
end
end
end