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