Add emails for accepted and rejected booths
This commit is contained in:
parent
edd0024a17
commit
07ad46a8f7
6 changed files with 67 additions and 3 deletions
10
db/migrate/20170731161207_add_booths_to_email_settings.rb
Normal file
10
db/migrate/20170731161207_add_booths_to_email_settings.rb
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
class AddBoothsToEmailSettings < ActiveRecord::Migration
|
||||
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
|
||||
Loading…
Add table
Add a link
Reference in a new issue