added the notification email method

This commit is contained in:
Tresor11
2020-07-02 22:51:37 +02:00
parent e64fa197aa
commit f2dd2c3bad
13 changed files with 88 additions and 34 deletions

View File

@@ -0,0 +1,5 @@
class AddNotifyEmailToForms < ActiveRecord::Migration[6.0]
def change
add_column :forms, :notify_email, :string
end
end

View File

@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema.define(version: 2020_06_10_131725) do
ActiveRecord::Schema.define(version: 2020_07_02_202828) do
# These are extensions that must be enabled in order to support this database
enable_extension "plpgsql"
@@ -62,6 +62,7 @@ ActiveRecord::Schema.define(version: 2020_06_10_131725) do
t.string "airtable_table"
t.string "backend_name"
t.string "google_spreadsheet_sheet"
t.string "notify_email"
end
create_table "submissions", force: :cascade do |t|