Fix an issue that prevented the database creation

This commit is contained in:
Yannick 2020-06-02 10:46:49 +02:00
parent 2763707132
commit 0965f5ba03
2 changed files with 7 additions and 2 deletions

BIN
.DS_Store vendored Normal file

Binary file not shown.

View File

@ -1,5 +1,10 @@
# frozen_string_literal: true
if ENV['GOOGLE_DEMO_FORM_ID'].present?
GOOGLE_DEMO_FORM = Form.find_by(id: ENV['GOOGLE_DEMO_FORM_ID'])
end
if ENV['AIRTABLE_DEMO_FORM_ID'].present?
AIRTABLE_DEMO_FORM = Form.find_by(id: ENV['AIRTABLE_DEMO_FORM_ID'])
end
GOOGLE_DEMO_FORM = Form.find_by(id: ENV['GOOGLE_DEMO_FORM_ID'])
AIRTABLE_DEMO_FORM = Form.find_by(id: ENV['AIRTABLE_DEMO_FORM_ID'])
AIRTABLE_DEMO_EMBED_URL = ENV['AIRTABLE_DEMO_EMBED_URL']