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-5.4.0 lib/generators/templates/add_app_to_rapns.rb
rpush-5.3.0 lib/generators/templates/add_app_to_rapns.rb
rpush-5.2.0 lib/generators/templates/add_app_to_rapns.rb
rpush-5.1.0 lib/generators/templates/add_app_to_rapns.rb
rpush-5.0.0 lib/generators/templates/add_app_to_rapns.rb
rpush-4.2.0 lib/generators/templates/add_app_to_rapns.rb
rpush-4.1.1 lib/generators/templates/add_app_to_rapns.rb
rpush-4.1.0 lib/generators/templates/add_app_to_rapns.rb
rpush-4.0.1 lib/generators/templates/add_app_to_rapns.rb
rpush-4.0.0 lib/generators/templates/add_app_to_rapns.rb
rpush-3.3.1 lib/generators/templates/add_app_to_rapns.rb
rpush-3.3.0 lib/generators/templates/add_app_to_rapns.rb
rpush_extended-3.2.6 lib/generators/templates/add_app_to_rapns.rb
rpush_extended-3.2.5 lib/generators/templates/add_app_to_rapns.rb
rpush-3.2.4 lib/generators/templates/add_app_to_rapns.rb
rpush-3.2.3 lib/generators/templates/add_app_to_rapns.rb
rpush-3.2.2 lib/generators/templates/add_app_to_rapns.rb
rpush-3.2.1 lib/generators/templates/add_app_to_rapns.rb
rpush-3.2.0 lib/generators/templates/add_app_to_rapns.rb
rpush-3.1.1 lib/generators/templates/add_app_to_rapns.rb