Class: Rpush420Updates
- Inherits:
-
Object
- Object
- Rpush420Updates
- Defined in:
- lib/generators/templates/rpush_4_2_0_updates.rb
Class Method Summary collapse
Class Method Details
.down ⇒ Object
6 7 8 |
# File 'lib/generators/templates/rpush_4_2_0_updates.rb', line 6 def self.down remove_column :rpush_notifications, :sound_is_json end |
.up ⇒ Object
2 3 4 |
# File 'lib/generators/templates/rpush_4_2_0_updates.rb', line 2 def self.up add_column :rpush_notifications, :sound_is_json, :boolean, null: true, default: false end |