class AddRpush::AddWpns
Public Class Methods
down()
click to toggle source
# File lib/generators/templates/add_rpush.rb, line 275 def self.down AddWpns::Rapns::Notification.where(type: 'Rapns::Wpns::Notification').delete_all remove_column :rapns_notifications, :uri end
up()
click to toggle source
# File lib/generators/templates/add_rpush.rb, line 271 def self.up add_column :rapns_notifications, :uri, :string, null: true end