Sha256: 7ce6eb531cc5503401fa775fc29f9a69b88785c109febba10707e0df667fbf9f
Contents?: true
Size: 497 Bytes
Versions: 12
Compression:
Stored size: 497 Bytes
Contents
class AddFooterFieldsToSpreeStores < ActiveRecord::Migration[6.0] def change add_column :spree_stores, :description, :text unless column_exists?(:spree_stores, :description) add_column :spree_stores, :address, :text unless column_exists?(:spree_stores, :address) add_column :spree_stores, :contact_phone, :string unless column_exists?(:spree_stores, :contact_phone) add_column :spree_stores, :contact_email, :string unless column_exists?(:spree_stores, :contact_email) end end
Version data entries
12 entries across 12 versions & 1 rubygems