Class: Rpush710Updates
- Inherits:
-
Object
- Object
- Rpush710Updates
- Defined in:
- lib/generators/templates/rpush_7_1_0_updates.rb
Class Method Summary collapse
Class Method Details
.down ⇒ Object
7 8 9 10 |
# File 'lib/generators/templates/rpush_7_1_0_updates.rb', line 7 def self.down remove_column :rpush_apps, :firebase_project_id remove_column :rpush_apps, :json_key end |
.up ⇒ Object
2 3 4 5 |
# File 'lib/generators/templates/rpush_7_1_0_updates.rb', line 2 def self.up add_column :rpush_apps, :firebase_project_id, :string add_column :rpush_apps, :json_key, :text end |