Sha256: 67b145b66fdb3d32d1a2b474e6b2666be2bde501c2138f761708fce6ef03a9ca

Contents?: true

Size: 280 Bytes

Versions: 9

Compression:

Stored size: 280 Bytes

Contents

# This migration comes from spree (originally 20130813140619)
class ExpandOrderNumberSize < ActiveRecord::Migration[4.2]
  def up
    change_column :spree_orders, :number, :string, limit: 32
  end

  def down
    change_column :spree_orders, :number, :string, limit: 15
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
spree_purchase_order-3.7.0 spec/dummy/db/migrate/20191113195798_expand_order_number_size.spree.rb
spree_billing_sisow-0.9.2 spec/dummy/db/migrate/20190729091739_expand_order_number_size.spree.rb
spree_billing_sisow-0.9.1 spec/dummy/db/migrate/20190729091739_expand_order_number_size.spree.rb
spree_purchase_order-3.6.0 spec/dummy/db/migrate/20180516181927_expand_order_number_size.spree.rb
spree_purchase_order-3.5.0 spec/dummy/db/migrate/20180516181927_expand_order_number_size.spree.rb
spree_purchase_order-3.5.0.rc1 spec/dummy/db/migrate/20180516181927_expand_order_number_size.spree.rb
spree_purchase_order-3.4.0 spec/dummy/db/migrate/20180516181927_expand_order_number_size.spree.rb
spree_purchase_order-3.3.0 spec/dummy/db/migrate/20180516181927_expand_order_number_size.spree.rb
spree_purchase_order-3.2.0 spec/dummy/db/migrate/20180516181927_expand_order_number_size.spree.rb