Sha256: 45f9ee340886fd3945f53cb2e9814dd42197bd5d14b1d735ff0e6dd7925ef975

Contents?: true

Size: 258 Bytes

Versions: 26

Compression:

Stored size: 258 Bytes

Contents

class AddAlertIsJsonToRapnsNotifications < ActiveRecord::Migration
  def self.up
    add_column :rapns_notifications, :alert_is_json, :boolean, null: true, default: false
  end

  def self.down
    remove_column :rapns_notifications, :alert_is_json
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
rpush-2.7.0-java lib/generators/templates/add_alert_is_json_to_rapns_notifications.rb
rpush-2.7.0 lib/generators/templates/add_alert_is_json_to_rapns_notifications.rb
rpush-2.6.0-java lib/generators/templates/add_alert_is_json_to_rapns_notifications.rb
rpush-2.6.0 lib/generators/templates/add_alert_is_json_to_rapns_notifications.rb
rpush-2.5.0 lib/generators/templates/add_alert_is_json_to_rapns_notifications.rb
rpush-2.4.0-java lib/generators/templates/add_alert_is_json_to_rapns_notifications.rb
rpush-2.4.0 lib/generators/templates/add_alert_is_json_to_rapns_notifications.rb
rpush-2.3.2-java lib/generators/templates/add_alert_is_json_to_rapns_notifications.rb
rpush-2.3.2 lib/generators/templates/add_alert_is_json_to_rapns_notifications.rb
rpush-2.3.1-java lib/generators/templates/add_alert_is_json_to_rapns_notifications.rb
rpush-2.3.1 lib/generators/templates/add_alert_is_json_to_rapns_notifications.rb
rpush-2.3.0-java lib/generators/templates/add_alert_is_json_to_rapns_notifications.rb
rpush-2.3.0 lib/generators/templates/add_alert_is_json_to_rapns_notifications.rb
rpush-2.3.0.rc1 lib/generators/templates/add_alert_is_json_to_rapns_notifications.rb
rpush-2.2.0-java lib/generators/templates/add_alert_is_json_to_rapns_notifications.rb
rpush-2.2.0 lib/generators/templates/add_alert_is_json_to_rapns_notifications.rb
rpush-2.1.0-java lib/generators/templates/add_alert_is_json_to_rapns_notifications.rb
rpush-2.1.0 lib/generators/templates/add_alert_is_json_to_rapns_notifications.rb
rpush-2.0.1-java lib/generators/templates/add_alert_is_json_to_rapns_notifications.rb
rpush-2.0.1 lib/generators/templates/add_alert_is_json_to_rapns_notifications.rb