2018-05-07 16:47:29 -07:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
2020-05-11 12:38:36 -07:00
|
|
|
class AddBoothsToEmailSettings < ActiveRecord::Migration[4.2]
|
2017-08-02 20:10:47 +03:00
|
|
|
def change
|
|
|
|
|
add_column :email_settings, :send_on_booths_acceptance, :boolean, default: false
|
|
|
|
|
add_column :email_settings, :booths_acceptance_subject, :string
|
|
|
|
|
add_column :email_settings, :booths_acceptance_body, :text
|
|
|
|
|
add_column :email_settings, :send_on_booths_rejection, :boolean, default: false
|
|
|
|
|
add_column :email_settings, :booths_rejection_subject, :string
|
|
|
|
|
add_column :email_settings, :booths_rejection_body, :text
|
|
|
|
|
end
|
|
|
|
|
end
|