Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Commit

Permalink
Remove unnecessary payment_method reference opts
Browse files Browse the repository at this point in the history
These proved unnecessary, and were causing issues when attempting to run
this migration on MySQL.
  • Loading branch information
stewart committed Sep 9, 2016
1 parent 36e7955 commit c6961f1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ def change
t.string :payment_type
t.integer :user_id, index: true
t.references :customer, index: true
t.references :payment_method, foreign_key: { to_table: :spree_payment_method }, index: { name: 'index_braintree_source_payment_method' }
t.references :payment_method, index: true

t.timestamps null: false
end
Expand Down

0 comments on commit c6961f1

Please sign in to comment.