Pre registration
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
class AddRegistrationStatusToConferences < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :conferences, :registration_status, :string
|
||||
Conference.find_each do |conference|
|
||||
conference.registration_status = conference.registration_open ? :open : :closed
|
||||
conference.save!
|
||||
end
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,5 @@
|
||||
class AddHighestStepToConferenceRegistrations < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :conference_registrations, :highest_step, :string
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,5 @@
|
||||
class AddStepsCompletedToConferenceRegistrations < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :conference_registrations, :steps_completed, :json
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,5 @@
|
||||
class AddNeedsFacilitatorsToWorkshops < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :workshops, :needs_facilitators, :boolean
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,5 @@
|
||||
class AddLanguagesToUsers < ActiveRecord::Migration
|
||||
def change
|
||||
add_column :users, :languages, :json
|
||||
end
|
||||
end
|
||||
@@ -0,0 +1,5 @@
|
||||
class ChangeDateFormatInDynamicTranslationRecords < ActiveRecord::Migration
|
||||
def change
|
||||
change_column :dynamic_translation_records, :created_at, :timestamp
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user