10 lines
185 B
Ruby
10 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
|