class Rpush270Updates

Public Class Methods

down() click to toggle source
# File lib/generators/templates/rpush_2_7_0_updates.rb, line 7
def self.down
  change_column :rpush_notifications, :alert, :string
  remove_column :rpush_notifications, :notification
end
up() click to toggle source
# File lib/generators/templates/rpush_2_7_0_updates.rb, line 2
def self.up
  change_column :rpush_notifications, :alert, :text
  add_column :rpush_notifications, :notification, :text
end