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