This repository has been archived on 2021-07-13. You can view files and clone it, but cannot push or open issues or pull requests.
feedfu/db/migrate/20120407180851_add_error_field.rb
2012-04-08 04:04:37 +02:00

9 lines
185 B
Ruby

class AddErrorField < ActiveRecord::Migration
def up
add_column :feeds, :has_errors, :boolean, :default => false
end
def down
remove_column :feeds, :has_errors
end
end