class Rpush300Updates

Public Class Methods

down() click to toggle source
# File lib/generators/templates/rpush_3_0_0_updates.rb, line 7
def self.down
  remove_column :rpush_notifications, :mutable_content
  change_column :rpush_notifications, :sound, :string, default: 'default'
end
up() click to toggle source
# File lib/generators/templates/rpush_3_0_0_updates.rb, line 2
def self.up
  add_column :rpush_notifications, :mutable_content, :boolean, default: false
  change_column :rpush_notifications, :sound, :string, default: nil
end