bigdir/db/migrate/20130811122119_delete_name_...

10 lines
181 B
Ruby

class DeleteNameFromProjectInfo < ActiveRecord::Migration
def up
remove_column :project_infos, :name
end
def down
add_column :project_infos, :name, :string
end
end