Sha256: 49a1194e42b3dbdcef80130783b1716cb6be02407bf0ff30102f22fc897397bc

Contents?: true

Size: 285 Bytes

Versions: 26

Compression:

Stored size: 285 Bytes

Contents

class AddSettingsToSpreeStores < ActiveRecord::Migration[5.2]
  def change
    change_table :spree_stores do |t|
      if t.respond_to? :jsonb
        add_column :spree_stores, :settings, :jsonb
      else
        add_column :spree_stores, :settings, :json
      end
    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
spree_core-4.10.1 db/migrate/20210930155649_add_settings_to_spree_stores.rb
spree_core-4.10.0 db/migrate/20210930155649_add_settings_to_spree_stores.rb
spree_core-4.9.0 db/migrate/20210930155649_add_settings_to_spree_stores.rb
spree_core-4.8.3 db/migrate/20210930155649_add_settings_to_spree_stores.rb
spree_core-4.8.2 db/migrate/20210930155649_add_settings_to_spree_stores.rb
spree_core-4.7.3 db/migrate/20210930155649_add_settings_to_spree_stores.rb
spree_core-4.6.6 db/migrate/20210930155649_add_settings_to_spree_stores.rb
spree_core-4.5.5 db/migrate/20210930155649_add_settings_to_spree_stores.rb
spree_core-4.4.1 db/migrate/20210930155649_add_settings_to_spree_stores.rb
spree_core-4.5.4 db/migrate/20210930155649_add_settings_to_spree_stores.rb
spree_core-4.6.5 db/migrate/20210930155649_add_settings_to_spree_stores.rb
spree_core-4.7.2 db/migrate/20210930155649_add_settings_to_spree_stores.rb
spree_core-4.7.1 db/migrate/20210930155649_add_settings_to_spree_stores.rb
spree_core-4.6.4 db/migrate/20210930155649_add_settings_to_spree_stores.rb
spree_core-4.7.0 db/migrate/20210930155649_add_settings_to_spree_stores.rb
spree_core-4.6.3 db/migrate/20210930155649_add_settings_to_spree_stores.rb
spree_core-4.6.2 db/migrate/20210930155649_add_settings_to_spree_stores.rb
spree_core-4.6.1 db/migrate/20210930155649_add_settings_to_spree_stores.rb
spree_core-4.6.0 db/migrate/20210930155649_add_settings_to_spree_stores.rb
spree_core-4.5.3 db/migrate/20210930155649_add_settings_to_spree_stores.rb