class Rpush301Updates

Public Class Methods

down() click to toggle source
# File lib/generators/templates/rpush_3_0_1_updates.rb, line 8
def self.down
  change_column_null :rpush_notifications, :mutable_content, true
  change_column_null :rpush_notifications, :content_available, true
  change_column_null :rpush_notifications, :alert_is_json, true
end
up() click to toggle source
# File lib/generators/templates/rpush_3_0_1_updates.rb, line 2
def self.up
  change_column_null :rpush_notifications, :mutable_content, false
  change_column_null :rpush_notifications, :content_available, false
  change_column_null :rpush_notifications, :alert_is_json, false
end