Class: Rpush324Updates

Inherits:
Object
  • Object
show all
Defined in:
lib/generators/templates/rpush_3_2_4_updates.rb

Class Method Summary collapse

Class Method Details

.downObject



6
7
8
# File 'lib/generators/templates/rpush_3_2_4_updates.rb', line 6

def self.down
  change_column :rpush_apps, :apn_key, :string, null: true
end

.upObject



2
3
4
# File 'lib/generators/templates/rpush_3_2_4_updates.rb', line 2

def self.up
  change_column :rpush_apps, :apn_key, :text, null: true
end