Skip to content
This repository has been archived by the owner on Mar 9, 2018. It is now read-only.

Update add_gcm.rb with a comment in case of an upgrade #175

Closed
wants to merge 1 commit into from

Conversation

nicops
Copy link

@nicops nicops commented Oct 17, 2013

Just a small explanation: the migration might fail if the index_rapns_notifications_multi doesn't exists and it's actually called index_rapns_notifications_on_delivered_failed_deliver_after.

This depends on the base version of rapns from where you're upgrading from. I for example upgraded from version 2.0.5, revision 0f4b90d and it seems the index was renamed later.

Just a small explanation: the migration might fail if the index_rapns_notifications_multi doesn't exists and it's actually called index_rapns_notifications_on_delivered_failed_deliver_after
@jcoleman
Copy link
Contributor

My patch at #181 includes a more complete fix for this issue (rather than just an explanatory comment, we should handle the situation automatically.)

@nicops
Copy link
Author

nicops commented Nov 21, 2013

@jcoleman great, way better than what I did.

@nicops nicops closed this Nov 21, 2013
@jcoleman
Copy link
Contributor

Awesome. TBH I encountered the same problem and didn't think to look at the current open issues. I'd made the changes and pushed before I even realized that you'd already opened a similar issue.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants