Skip to content
This repository has been archived by the owner on Oct 27, 2021. It is now read-only.

Commit

Permalink
Update Schemafile
Browse files Browse the repository at this point in the history
  • Loading branch information
rb-de0 committed Jul 21, 2018
1 parent dc95360 commit cc7338b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Schemafile
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,14 @@ create_table "post_tag", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8", force: :
end

create_table "posts", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8", force: :cascade do |t|
t.string "title", limit: 128
t.string "content", limit: 8192
t.string "html_content", limit: 8192
t.string "part_of_content", limit: 150
t.string "title", limit: 128, null: false
t.string "content", limit: 8192, null: false
t.string "html_content", limit: 8192, null: false
t.string "part_of_content", limit: 150, null: false
t.bigint "category_id"
t.bigint "user_id"
t.boolean "is_static"
t.boolean "is_published"
t.boolean "is_static", null: false
t.boolean "is_published", null: false
t.datetime "created_at", precision: 6
t.datetime "updated_at", precision: 6
t.index ["category_id"], name: "fk:82c6a979135869a48bf35c75d729eaec229f5405"
Expand Down

0 comments on commit cc7338b

Please sign in to comment.