Sha256: fdff045e8e3f162bcb9d27497e542acaa1388f499ac5c4990b1f360c34036f81

Contents?: true

Size: 451 Bytes

Versions: 2

Compression:

Stored size: 451 Bytes

Contents

# This migration comes from spree (originally 20150612205731)
class RemoveSpreeConfigurations < ActiveRecord::Migration
  def up
    drop_table :spree_configurations
  end

  def down
    create_table :spree_configurations do |t|
      t.string     :name
      t.string     :type, :limit => 50
      t.timestamps null: true
    end

    add_index :spree_configurations, [:name, :type], :name => 'index_spree_configurations_on_name_and_type'
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
spree_order_reporting-0.0.2 spec/dummy/db/migrate/20160707103597_remove_spree_configurations.spree.rb
spree_order_reporting-0.0.1 spec/dummy/db/migrate/20160706112549_remove_spree_configurations.spree.rb