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.2.0.rc2 db/migrate/20150424143547_drop_stock_transfer_type.rb
solidus_core-1.0.4 db/migrate/20150424143547_drop_stock_transfer_type.rb
solidus_core-1.1.2 db/migrate/20150424143547_drop_stock_transfer_type.rb
solidus_core-1.2.0.rc1 db/migrate/20150424143547_drop_stock_transfer_type.rb
solidus_core-1.2.0.beta1 db/migrate/20150424143547_drop_stock_transfer_type.rb
solidus_core-1.0.3 db/migrate/20150424143547_drop_stock_transfer_type.rb
solidus_core-1.1.1 db/migrate/20150424143547_drop_stock_transfer_type.rb
solidus_core-1.1.0 db/migrate/20150424143547_drop_stock_transfer_type.rb
solidus_core-1.1.0.pre2 db/migrate/20150424143547_drop_stock_transfer_type.rb
solidus_core-1.1.0.pre1 db/migrate/20150424143547_drop_stock_transfer_type.rb
solidus_core-1.1.0.beta1 db/migrate/20150424143547_drop_stock_transfer_type.rb
solidus_core-1.0.2 db/migrate/20150424143547_drop_stock_transfer_type.rb
solidus_core-1.0.1 db/migrate/20150424143547_drop_stock_transfer_type.rb
solidus_core-1.0.0 db/migrate/20150424143547_drop_stock_transfer_type.rb
solidus_core-1.0.0.rc2 db/migrate/20150424143547_drop_stock_transfer_type.rb
solidus_core-1.0.0.rc1 db/migrate/20150424143547_drop_stock_transfer_type.rb
solidus_core-1.0.0.pre3 db/migrate/20150424143547_drop_stock_transfer_type.rb
solidus_core-1.0.0.pre2 db/migrate/20150424143547_drop_stock_transfer_type.rb
solidus_core-1.0.0.pre db/migrate/20150424143547_drop_stock_transfer_type.rb