023_add_type_column_for_task.rb 170 Bytes Edit Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 class AddTypeColumnForTask < ActiveRecord::Migration def self.up add_column :tasks, :type, :string end def self.down remove_column :tasks, :type end end