class CreateWCCContentfulAppContactFormSubmissions

Public Instance Methods

change() click to toggle source
# File lib/generators/wcc/templates/section-contact-form/migrations/create_wcc_contentful_app_contact_form_submissions.rb, line 4
def change
  create_table :wcc_contentful_app_contact_form_submissions do |t|
    t.string :form_id
    t.json :data, default: {}

    t.timestamps
  end
end