Sha256: 35682e69a0f624ada0030cecbb2e68c2707a40e433c32dceac82495d53e1e7b3
Contents?: true
Size: 395 Bytes
Versions: 9
Compression:
Stored size: 395 Bytes
Contents
# This migration comes from spree (originally 20150324104002) class RemoveUserIndexFromSpreeStateChanges < ActiveRecord::Migration[4.2] def up if index_exists? :spree_state_changes, :user_id remove_index :spree_state_changes, :user_id end end def down unless index_exists? :spree_state_changes, :user_id add_index :spree_state_changes, :user_id end end end
Version data entries
9 entries across 9 versions & 2 rubygems