mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
21 lines
480 B
Ruby
21 lines
480 B
Ruby
# frozen_string_literal: true
|
|
|
|
class CreateRegistrationsTable < ActiveRecord::Migration
|
|
def up
|
|
create_table :registrations do |t|
|
|
t.references :person
|
|
t.references :conference
|
|
|
|
t.boolean :attending_social_events, default: true
|
|
t.boolean :attending_social_events_with_partner, default: false
|
|
t.boolean :using_affiliated_lodging, default: true
|
|
t.date :arrival
|
|
t.date :departure
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
|
|
def down
|
|
end
|
|
end
|