Sha256: 78c7bb97f99dd9feff401beb8dfcd0209cd77a97a9594cfaf9d0d3ed665de0f4

Contents?: true

Size: 304 Bytes

Versions: 25

Compression:

Stored size: 304 Bytes

Contents

class AddFailAfterToRpushNotifications < ActiveRecord::VERSION::MAJOR >= 5 ? ActiveRecord::Migration[5.0] : ActiveRecord::Migration
  def self.up
    add_column :rpush_notifications, :fail_after, :timestamp, null: true
  end

  def self.down
    remove_column :rpush_notifications, :fail_after
  end
end

Version data entries

25 entries across 25 versions & 2 rubygems

Version Path
rpush-3.1.0 lib/generators/templates/add_fail_after_to_rpush_notifications.rb
rpush-3.0.2 lib/generators/templates/add_fail_after_to_rpush_notifications.rb
rpush-3.0.1 lib/generators/templates/add_fail_after_to_rpush_notifications.rb
rpush-3.0.0 lib/generators/templates/add_fail_after_to_rpush_notifications.rb
rpush-3.0.0.rc1 lib/generators/templates/add_fail_after_to_rpush_notifications.rb