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