These migrations and models were added after the Rails 5 branch was created but before it was merged.
11 lines
235 B
Ruby
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
|