socialforge/db/migrate/20150730130816_add_errormsg...

10 lines
180 B
Ruby

class AddErrormsgToTest < ActiveRecord::Migration
def up
add_column :homework_tests,:error_msg,:text
end
def down
remove_column :homework_tests,:error_msg
end
end