class AddFailAfterToRpushNotifications

Public Class Methods

down() click to toggle source
# File lib/generators/templates/add_fail_after_to_rpush_notifications.rb, line 6
def self.down
  remove_column :rpush_notifications, :fail_after
end
up() click to toggle source
# File lib/generators/templates/add_fail_after_to_rpush_notifications.rb, line 2
def self.up
  add_column :rpush_notifications, :fail_after, :timestamp, null: true
end