Class: AddLaunchNotificationToApnPullNotifications
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- AddLaunchNotificationToApnPullNotifications
- Defined in:
- lib/generators/apn_on_rails/install/templates/012_add_launch_notification_to_apn_pull_notifications.rb
Class Method Summary collapse
Class Method Details
.down ⇒ Object
6 7 8 |
# File 'lib/generators/apn_on_rails/install/templates/012_add_launch_notification_to_apn_pull_notifications.rb', line 6 def self.down remove_column :apn_pull_notifications, :launch_notification end |
.up ⇒ Object
2 3 4 |
# File 'lib/generators/apn_on_rails/install/templates/012_add_launch_notification_to_apn_pull_notifications.rb', line 2 def self.up add_column :apn_pull_notifications, :launch_notification, :boolean end |