From f35aa2a9d3f644676f643abedee97d8e3357d7b9 Mon Sep 17 00:00:00 2001 From: Andreas Haller Date: Mon, 27 Apr 2015 21:02:26 +0200 Subject: [PATCH] Fix typo in migration --- db/migrate/20150413193656_create_papers.rb | 3 ++- db/schema.rb | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) 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