You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ian Leitch edited this page Feb 9, 2014
·
1 revision
Changes to Schema
in order to support both Apple Push Notifications and Google Cloud Messages, the Rpush::App and Rpush::Notification classes are now bases classes. Application specific classes are Rpush::Apns::App and Rpush::Apns::Notification for Apple Push Notifications and Rpush::Gcm::App and Rpush::Gcm::Notification for Google Cloud Messages.
Rpush::App
the key column is now known as name. This value is now unique within the scope of the application type (Apns / Gcm) and the environment (sandbox / production)
Rpush::Notification
The app column has been removed.
There is an app_id column, and an app belongs_to association to Rpush::App.