1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-01 12:24:28 +01:00
fab-manager/db/migrate/20230612123250_add_pre_registration_to_event.rb

10 lines
309 B
Ruby
Raw Normal View History

2023-06-13 11:38:06 +02:00
# 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