|
|
|
@@ -10,7 +10,7 @@ |
|
|
|
# |
|
|
|
# It's strongly recommended that you check this file into your version control system. |
|
|
|
|
|
|
|
ActiveRecord::Schema.define(version: 20161124223446) do |
|
|
|
ActiveRecord::Schema.define(version: 20161125201757) do |
|
|
|
|
|
|
|
create_table "categories", force: :cascade do |t| |
|
|
|
t.string "name" |
|
|
|
@@ -22,6 +22,14 @@ ActiveRecord::Schema.define(version: 20161124223446) do |
|
|
|
t.index ["user_id"], name: "index_categories_on_user_id" |
|
|
|
end |
|
|
|
|
|
|
|
create_table "contents", force: :cascade do |t| |
|
|
|
t.text "text" |
|
|
|
t.integer "document_id" |
|
|
|
t.datetime "created_at", null: false |
|
|
|
t.datetime "updated_at", null: false |
|
|
|
t.index ["document_id"], name: "index_contents_on_document_id" |
|
|
|
end |
|
|
|
|
|
|
|
create_table "documents", force: :cascade do |t| |
|
|
|
t.string "name" |
|
|
|
t.datetime "created_at", null: false |
|
|
|
|