Files
nairobi/db/migrate/20180704093831_create_poll_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

11 lines
235 B
Ruby

class CreatePollBallot < ActiveRecord::Migration[4.2]
def change
create_table :poll_ballots do |t|
t.integer :ballot_sheet_id
t.text :data
t.integer :external_id
t.timestamps null: false
end
end
end