1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-29 10:24:20 +01:00
fab-manager/db/migrate/20230612123250_add_pre_registration_to_event.rb
2023-07-04 15:02:36 +02:00

10 lines
309 B
Ruby

# frozen_string_literal: true
# Add pre-registration and pre_registration_end_date to event
class AddPreRegistrationToEvent < ActiveRecord::Migration[7.0]
def change
add_column :events, :pre_registration, :boolean, default: false
add_column :events, :pre_registration_end_date, :datetime
end
end