Class: Update_0_1_26_ActiveRecordSurvey
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- Update_0_1_26_ActiveRecordSurvey
- Defined in:
- lib/generators/active_record_survey/templates/migration_0.1.26.rb
Class Method Summary collapse
Class Method Details
.down ⇒ Object
6 7 8 |
# File 'lib/generators/active_record_survey/templates/migration_0.1.26.rb', line 6 def self.down remove_column :active_record_survey_nodes, :active_record_survey_id end |
.up ⇒ Object
2 3 4 |
# File 'lib/generators/active_record_survey/templates/migration_0.1.26.rb', line 2 def self.up add_column :active_record_survey_nodes, :active_record_survey_id, :integer end |