Skip to content

Commit

Permalink
Merge pull request #352 from winebarrel/update_fk_example
Browse files Browse the repository at this point in the history
Update FK example
  • Loading branch information
winebarrel committed Mar 13, 2021
2 parents f5ce2cd + 98df469 commit 1670044
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -298,8 +298,8 @@ create_table "parent", force: :cascade do |t|
end

create_table "child", id: false, force: :cascade do |t|
t.integer "id"
t.integer "parent_id"
t.bigint "id"
t.bigint "parent_id"
end

add_index "child", ["parent_id"], name: "par_ind", using: :btree
Expand Down

0 comments on commit 1670044

Please sign in to comment.