Class: Rpush331Updates
- Inherits:
-
Object
- Object
- Rpush331Updates
- Defined in:
- lib/generators/templates/rpush_3_3_1_updates.rb
Class Method Summary collapse
Class Method Details
.down ⇒ Object
7 8 9 10 |
# File 'lib/generators/templates/rpush_3_3_1_updates.rb', line 7 def self.down change_column :rpush_notifications, :device_token, :string, null: true, limit: 64 change_column :rpush_feedback, :device_token, :string, null: true, limit: 64 end |
.up ⇒ Object
2 3 4 5 |
# File 'lib/generators/templates/rpush_3_3_1_updates.rb', line 2 def self.up change_column :rpush_notifications, :device_token, :string, null: true change_column :rpush_feedback, :device_token, :string, null: true end |