Sha256: 1e11074c1c04461ba8a01f43dccce35971e2e84bbd5521408768c5c92ac8c296
Contents?: true
Size: 387 Bytes
Versions: 21
Compression:
Stored size: 387 Bytes
Contents
class RemoveUserIdFromPromotionRules < ActiveRecord::Migration[4.2] def up remove_index :spree_promotion_rules, name: 'index_promotion_rules_on_user_id' remove_column :spree_promotion_rules, :user_id end def down add_column :spree_promotion_rules, :user_id, :integer add_index :spree_promotion_rules, [:user_id], name: 'index_promotion_rules_on_user_id' end end
Version data entries
21 entries across 21 versions & 1 rubygems
Version | Path |
---|---|
solidus_core-2.0.0.beta1 | db/migrate/20160616232103_remove_user_id_from_promotion_rules.rb |