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