Sha256: a837c3256b534a3cf58555adc723f8ec8e516ce3e56e8cb1a7a06eab96ab744f

Contents?: true

Size: 216 Bytes

Versions: 9

Compression:

Stored size: 216 Bytes

Contents

class AddContextToEnquiries < ActiveRecord::Migration[5.1]
  def change
    add_column :integral_enquiries, :newsletter_opt_in, :boolean, default: true
    add_column :integral_enquiries, :context, :string
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
integral-2.0.0 db/migrate/20180509101917_add_context_to_enquiries.rb
integral-1.5.1 db/migrate/20180509101917_add_context_to_enquiries.rb
integral-1.5.0 db/migrate/20180509101917_add_context_to_enquiries.rb
integral-1.4.0 db/migrate/20180509101917_add_context_to_enquiries.rb
integral-1.3.0 db/migrate/20180509101917_add_context_to_enquiries.rb
integral-1.2.0 db/migrate/20180509101917_add_context_to_enquiries.rb
integral-1.1.0 db/migrate/20180509101917_add_context_to_enquiries.rb
integral-1.0.1 db/migrate/20180509101917_add_context_to_enquiries.rb
integral-1.0.0 db/migrate/20180509101917_add_context_to_enquiries.rb