mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Add emails for booth's acceptance and rejection
This commit is contained in:
parent
5f9c0065c6
commit
7107f9a35f
11 changed files with 114 additions and 10 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
|
||||
|
|
@ -205,6 +205,12 @@ ActiveRecord::Schema.define(version: 20170807092805) do
|
|||
t.string "cfp_dates_updated_subject"
|
||||
t.text "program_schedule_public_body"
|
||||
t.text "cfp_dates_updated_body"
|
||||
t.boolean "send_on_booths_acceptance", default: false
|
||||
t.string "booths_acceptance_subject"
|
||||
t.text "booths_acceptance_body"
|
||||
t.boolean "send_on_booths_rejection", default: false
|
||||
t.string "booths_rejection_subject"
|
||||
t.text "booths_rejection_body"
|
||||
end
|
||||
|
||||
create_table "event_schedules", force: :cascade do |t|
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue