Skip to content

Commit

Permalink
add annotot migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
mejackreed committed Feb 28, 2018
1 parent b669532 commit a577fc6
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
12 changes: 12 additions & 0 deletions db/migrate/20180228230701_create_annotot_annotations.annotot.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# This migration comes from annotot (originally 20180215183225)
class CreateAnnototAnnotations < ActiveRecord::Migration[5.1]
def change
create_table :annotot_annotations do |t|
t.string :uuid, index: true
t.string :canvas, index: true
t.binary :data

t.timestamps
end
end
end
4 changes: 3 additions & 1 deletion db/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,16 @@
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema.define(version: 20180215190547) do
ActiveRecord::Schema.define(version: 20180228230701) do

create_table "annotot_annotations", force: :cascade do |t|
t.string "uuid"
t.string "canvas"
t.binary "data"
t.datetime "created_at", null: false
t.datetime "updated_at", null: false
t.index ["canvas"], name: "index_annotot_annotations_on_canvas"
t.index ["uuid"], name: "index_annotot_annotations_on_uuid"
end

create_table "bookmarks", force: :cascade do |t|
Expand Down

0 comments on commit a577fc6

Please sign in to comment.