Sha256: ef822f886440e8e853512384f5279286e362b2aa6b7cc7ccb0ebe6ec21aa8d78

Contents?: true

Size: 250 Bytes

Versions: 21

Compression:

Stored size: 250 Bytes

Contents

class DropStockTransferType < ActiveRecord::Migration[4.2]
  def up
    # type is reserved for Single Table Inheritance
    remove_column :spree_stock_transfers, :type
  end

  def down
    add_column :spree_stock_transfers, :type, :string
  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
solidus_core-2.3.1 db/migrate/20150424143547_drop_stock_transfer_type.rb
solidus_core-2.2.2 db/migrate/20150424143547_drop_stock_transfer_type.rb
solidus_core-2.1.1 db/migrate/20150424143547_drop_stock_transfer_type.rb
solidus_core-2.0.3 db/migrate/20150424143547_drop_stock_transfer_type.rb
solidus_core-2.3.0 db/migrate/20150424143547_drop_stock_transfer_type.rb
solidus_core-2.3.0.rc3 db/migrate/20150424143547_drop_stock_transfer_type.rb
solidus_core-2.3.0.rc2 db/migrate/20150424143547_drop_stock_transfer_type.rb
solidus_core-2.3.0.rc1 db/migrate/20150424143547_drop_stock_transfer_type.rb
solidus_core-2.3.0.beta1 db/migrate/20150424143547_drop_stock_transfer_type.rb
solidus_core-2.0.2 db/migrate/20150424143547_drop_stock_transfer_type.rb
solidus_core-2.2.1 db/migrate/20150424143547_drop_stock_transfer_type.rb
solidus_core-2.2.0 db/migrate/20150424143547_drop_stock_transfer_type.rb
solidus_core-2.2.0.rc1 db/migrate/20150424143547_drop_stock_transfer_type.rb
solidus_core-2.2.0.beta1 db/migrate/20150424143547_drop_stock_transfer_type.rb
solidus_core-2.1.0 db/migrate/20150424143547_drop_stock_transfer_type.rb
solidus_core-2.1.0.rc1 db/migrate/20150424143547_drop_stock_transfer_type.rb
solidus_core-2.0.1 db/migrate/20150424143547_drop_stock_transfer_type.rb
solidus_core-2.1.0.beta1 db/migrate/20150424143547_drop_stock_transfer_type.rb
solidus_core-2.0.0 db/migrate/20150424143547_drop_stock_transfer_type.rb
solidus_core-2.0.0.rc1 db/migrate/20150424143547_drop_stock_transfer_type.rb