Sha256: dd8f36a4084393d207be3d46c5894aea556560a8cd3c91add125721cdba0af2f

Contents?: true

Size: 702 Bytes

Versions: 9

Compression:

Stored size: 702 Bytes

Contents

# This migration comes from spree (originally 20160207191757)
class AddIdColumnToEarlierHabtmTables < ActiveRecord::Migration[4.2]
  def up
    add_column :spree_option_type_prototypes, :id, :primary_key
    add_column :spree_option_value_variants, :id, :primary_key
    add_column :spree_order_promotions, :id, :primary_key
    add_column :spree_product_promotion_rules, :id, :primary_key
    add_column :spree_promotion_rule_users, :id, :primary_key
    add_column :spree_property_prototypes, :id, :primary_key
    add_column :spree_role_users, :id, :primary_key
    add_column :spree_shipping_method_zones, :id, :primary_key
  end

  def down
    raise ActiveRecord::IrreversibleMigration
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
spree_purchase_order-3.7.0 spec/dummy/db/migrate/20191113195931_add_id_column_to_earlier_habtm_tables.spree.rb
spree_billing_sisow-0.9.2 spec/dummy/db/migrate/20190729091872_add_id_column_to_earlier_habtm_tables.spree.rb
spree_billing_sisow-0.9.1 spec/dummy/db/migrate/20190729091872_add_id_column_to_earlier_habtm_tables.spree.rb
spree_purchase_order-3.6.0 spec/dummy/db/migrate/20180516182060_add_id_column_to_earlier_habtm_tables.spree.rb
spree_purchase_order-3.5.0 spec/dummy/db/migrate/20180516182060_add_id_column_to_earlier_habtm_tables.spree.rb
spree_purchase_order-3.5.0.rc1 spec/dummy/db/migrate/20180516182060_add_id_column_to_earlier_habtm_tables.spree.rb
spree_purchase_order-3.4.0 spec/dummy/db/migrate/20180516182060_add_id_column_to_earlier_habtm_tables.spree.rb
spree_purchase_order-3.3.0 spec/dummy/db/migrate/20180516182060_add_id_column_to_earlier_habtm_tables.spree.rb
spree_purchase_order-3.2.0 spec/dummy/db/migrate/20180516182060_add_id_column_to_earlier_habtm_tables.spree.rb