Sha256: 077949bc1300627e69b5ad2dfd17f676fcc3264249de01946f5b05347129cd9d
Contents?: true
Size: 430 Bytes
Versions: 26
Compression:
Stored size: 430 Bytes
Contents
class AddMetadataToSpreeVariants < ActiveRecord::Migration[5.2] def change change_table :spree_variants do |t| if t.respond_to? :jsonb add_column :spree_variants, :public_metadata, :jsonb add_column :spree_variants, :private_metadata, :jsonb else add_column :spree_variants, :public_metadata, :json add_column :spree_variants, :private_metadata, :json end end end end
Version data entries
26 entries across 26 versions & 1 rubygems