2018-05-07 16:47:29 -07:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
2014-01-01 11:39:59 +02:00
|
|
|
class RegistrationsVchoices < ActiveRecord::Migration
|
|
|
|
|
def up
|
2014-07-21 14:49:05 +02:00
|
|
|
create_table :registrations_vchoices, id: false do |t|
|
2014-01-01 11:39:59 +02:00
|
|
|
t.references :registration, :vchoice
|
|
|
|
|
end
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
def down
|
|
|
|
|
drop_table :registrations_vchoices
|
|
|
|
|
end
|
|
|
|
|
end
|