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

Already on GitHub? Sign in to your account

add notification table #187

Closed
GuoYangguang opened this Issue Dec 15, 2013 · 4 comments

Comments

Projects
None yet
3 participants

Beside rapns_notifications table , is it possible to create another table to store message when using the rapnas gem? thanks!

Contributor

mattconnolly commented Dec 16, 2013

The rapns gem specifically looks for messages to send in the rapns_notifications table. Do you want a different table name or to pull messages from multiple tables?

If you just want to change the table name, you can set this on Rapns::Notification.table_name = "other_table_name" in an initialiser that will be loaded during the rapns startup phase.

If you want multiple tables, you will need to extend the code yourself.

Owner

ileitch commented Dec 16, 2013

@GuoYangguang what are you trying to achieve?

@mattconnolly , thanks, :)

@ileitch, thanks, if i have question later, i will ask your help, currently i am learning it.

@ileitch ileitch closed this Jan 3, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment