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