11 lines
248 B
Ruby
11 lines
248 B
Ruby
class CreateErrors < ActiveRecord::Migration
|
|
def change
|
|
create_table :errors do |t|
|
|
t.references :feed
|
|
t.string :action, :default => :undefined
|
|
t.text :message, :default => "no message"
|
|
|
|
t.timestamps
|
|
end
|
|
end
|
|
end
|