Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not add indices on table spree_users #6302

Closed
wants to merge 1 commit into from
Closed

Do not add indices on table spree_users #6302

wants to merge 1 commit into from

Conversation

mamhoff
Copy link
Contributor

@mamhoff mamhoff commented Apr 16, 2015

Spree does not come with a users table, spree_auth_devise does. If an
installation uses a custom user model, this migration will fail.

This addresses #6301.

Spree does not come with a users table, spree_auth_devise does. If an
installation uses a custom user model, this migration will fail.
@TeatroIO
Copy link

I've prepared a stage to preview changes. Open stage or view logs.

add_index :spree_promotion_rules_users,
[:user_id, :promotion_rule_id],
add_index :spree_promotion_rules_users,
[:user_id, :promotion_rule_id],

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Align the parameters of a method call if they span more than one line.

@JDutil JDutil closed this in 0370363 Apr 16, 2015
@mamhoff mamhoff deleted the fix-indices-migration branch February 19, 2016 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants