Sha256: 8076fd40411ad4e162febbf865ad1f9ce444cad963b1bba25a1572d9fe3f52b6

Contents?: true

Size: 245 Bytes

Versions: 39

Compression:

Stored size: 245 Bytes

Contents

class DropStockTransferType < ActiveRecord::Migration
  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

39 entries across 39 versions & 1 rubygems

Version Path
solidus_core-1.4.2 db/migrate/20150424143547_drop_stock_transfer_type.rb
solidus_core-1.3.2 db/migrate/20150424143547_drop_stock_transfer_type.rb
solidus_core-1.2.3 db/migrate/20150424143547_drop_stock_transfer_type.rb
solidus_core-1.1.4 db/migrate/20150424143547_drop_stock_transfer_type.rb
solidus_core-1.0.7 db/migrate/20150424143547_drop_stock_transfer_type.rb
solidus_core-1.4.1 db/migrate/20150424143547_drop_stock_transfer_type.rb
solidus_core-1.4.0 db/migrate/20150424143547_drop_stock_transfer_type.rb
solidus_core-1.4.0.rc1 db/migrate/20150424143547_drop_stock_transfer_type.rb
solidus_core-1.4.0.beta1 db/migrate/20150424143547_drop_stock_transfer_type.rb
solidus_core-1.3.1 db/migrate/20150424143547_drop_stock_transfer_type.rb
solidus_core-1.3.0 db/migrate/20150424143547_drop_stock_transfer_type.rb
solidus_core-1.3.0.rc2 db/migrate/20150424143547_drop_stock_transfer_type.rb
solidus_core-1.3.0.rc1 db/migrate/20150424143547_drop_stock_transfer_type.rb
solidus_core-1.3.0.beta1 db/migrate/20150424143547_drop_stock_transfer_type.rb
solidus_core-1.0.6 db/migrate/20150424143547_drop_stock_transfer_type.rb
solidus_core-1.2.2 db/migrate/20150424143547_drop_stock_transfer_type.rb
solidus_core-1.2.1 db/migrate/20150424143547_drop_stock_transfer_type.rb
solidus_core-1.1.3 db/migrate/20150424143547_drop_stock_transfer_type.rb
solidus_core-1.0.5 db/migrate/20150424143547_drop_stock_transfer_type.rb
solidus_core-1.2.0 db/migrate/20150424143547_drop_stock_transfer_type.rb