Sha256: 9c1342b9083bbb81e07552f9d1555db02a11a2771d2dc9cec95cd6a4c310025a
Contents?: true
Size: 429 Bytes
Versions: 11
Compression:
Stored size: 429 Bytes
Contents
# This migration comes from spree (originally 20140331100557) class AddAdditionalStoreFields < ActiveRecord::Migration def change add_column :spree_stores, :code, :string unless column_exists?(:spree_stores, :code) add_column :spree_stores, :default, :boolean, default: false, null: false unless column_exists?(:spree_stores, :default) add_index :spree_stores, :code add_index :spree_stores, :default end end
Version data entries
11 entries across 11 versions & 5 rubygems