Class: AddAppToRapns
- Inherits:
-
Object
- Object
- AddAppToRapns
- Defined in:
- lib/generators/templates/add_app_to_rapns.rb
Class Method Summary collapse
Class Method Details
.down ⇒ Object
7 8 9 10 |
# File 'lib/generators/templates/add_app_to_rapns.rb', line 7 def self.down remove_column :rapns_notifications, :app remove_column :rapns_feedback, :app end |
.up ⇒ Object
2 3 4 5 |
# File 'lib/generators/templates/add_app_to_rapns.rb', line 2 def self.up add_column :rapns_notifications, :app, :string, null: true add_column :rapns_feedback, :app, :string, null: true end |