Sha256: 791779090f5d09f7e2707f204609ef3fbe793567a25488c2988f585b4df1c713
Contents?: true
Size: 333 Bytes
Versions: 120
Compression:
Stored size: 333 Bytes
Contents
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
120 entries across 120 versions & 1 rubygems