Class: Update_0_1_26_ActiveRecordSurvey

Inherits:
ActiveRecord::Migration
  • Object
show all
Defined in:
lib/generators/active_record_survey/templates/migration_0.1.26.rb

Class Method Summary collapse

Class Method Details

.downObject



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

.upObject



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