Sha256: 0ee8ea8e8a50bd6d06441ee2e58e8c854298ee0371812a91b8360f28b1eac783

Contents?: true

Size: 365 Bytes

Versions: 25

Compression:

Stored size: 365 Bytes

Contents

class AddAppToRapns < ActiveRecord::VERSION::MAJOR >= 5 ? ActiveRecord::Migration[5.0] : ActiveRecord::Migration
  def self.up
    add_column :rapns_notifications, :app, :string, null: true
    add_column :rapns_feedback, :app, :string, null: true
  end

  def self.down
    remove_column :rapns_notifications, :app
    remove_column :rapns_feedback, :app
  end
end

Version data entries

25 entries across 25 versions & 2 rubygems

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