diff --git a/db/migrate/20150413193656_create_papers.rb b/db/migrate/20150413193656_create_papers.rb index 5dad952..591b233 100644 --- a/db/migrate/20150413193656_create_papers.rb +++ b/db/migrate/20150413193656_create_papers.rb @@ -1,4 +1,5 @@ -class CreatePapers < ActiveRecord::Migration def change +class CreatePapers < ActiveRecord::Migration + def change create_table :papers do |t| t.string :name t.string :url diff --git a/db/schema.rb b/db/schema.rb index a25cb86..4d62ad8 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -21,6 +21,8 @@ ActiveRecord::Schema.define(version: 20150413193656) do t.datetime "scraped_at" t.string "paper_type" t.string "originator" + t.text "resolution" + t.text "content" t.datetime "created_at" t.datetime "updated_at" end