Class: AlterApnGroups
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- AlterApnGroups
- Defined in:
- lib/generators/apn_on_rails/install/templates/006_alter_apn_groups.rb
Overview
:nodoc:
Class Method Summary collapse
Class Method Details
.down ⇒ Object
7 8 9 |
# File 'lib/generators/apn_on_rails/install/templates/006_alter_apn_groups.rb', line 7 def self.down remove_column :apn_groups, :app_id end |
.up ⇒ Object
3 4 5 |
# File 'lib/generators/apn_on_rails/install/templates/006_alter_apn_groups.rb', line 3 def self.up add_column :apn_groups, :app_id, :integer end |