Class: AddRpush::AddAlertIsJsonToRapnsNotifications
- Inherits:
-
Object
- Object
- AddRpush::AddAlertIsJsonToRapnsNotifications
- Defined in:
- lib/generators/templates/add_rpush.rb
Class Method Summary collapse
Class Method Details
.down ⇒ Object
112 113 114 |
# File 'lib/generators/templates/add_rpush.rb', line 112 def self.down remove_column :rapns_notifications, :alert_is_json end |
.up ⇒ Object
108 109 110 |
# File 'lib/generators/templates/add_rpush.rb', line 108 def self.up add_column :rapns_notifications, :alert_is_json, :boolean, null: true, default: false end |