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