mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-11-29 10:24:20 +01:00
10 lines
309 B
Ruby
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
|