Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Missing fields necessary for ingest.

  • Loading branch information...
commit c6f71f894260623160e16190e80041fd9eba262a 1 parent 268e2e5
@infovore authored
View
11 db/migrate/20120401210739_add_pages_to_notes_and_clippings.rb
@@ -0,0 +1,11 @@
+class AddPagesToNotesAndClippings < ActiveRecord::Migration
+ def self.up
+ add_column :clippings, :page, :string
+ add_column :notes, :page, :string
+ end
+
+ def self.down
+ remove_column :clippings, :page
+ remove_column :notes, :page
+ end
+end
View
9 db/migrate/20120401211347_add_clipped_at_to_notes.rb
@@ -0,0 +1,9 @@
+class AddClippedAtToNotes < ActiveRecord::Migration
+ def self.up
+ add_column :notes, :clipped_at, :datetime
+ end
+
+ def self.down
+ remove_column :notes, :clipped_at
+ end
+end
View
5 db/schema.rb
@@ -10,7 +10,7 @@
#
# It's strongly recommended to check this file into your version control system.
-ActiveRecord::Schema.define(:version => 20111114134507) do
+ActiveRecord::Schema.define(:version => 20120401211347) do
create_table "authors", :force => true do |t|
t.string "name"
@@ -37,6 +37,7 @@
t.datetime "updated_at"
t.integer "start_location"
t.integer "end_location"
+ t.string "page"
end
create_table "imports", :force => true do |t|
@@ -62,6 +63,8 @@
t.datetime "created_at"
t.datetime "updated_at"
t.integer "related_clipping_id"
+ t.string "page"
+ t.datetime "clipped_at"
end
create_table "settings", :force => true do |t|
Please sign in to comment.
Something went wrong with that request. Please try again.