Skip to content

Commit

Permalink
Merge pull request #1929 from sparc-request/ac-schema-fix
Browse files Browse the repository at this point in the history
small schema fix to add autoincrement to taggings table
  • Loading branch information
Stuart-Johnson committed Jul 18, 2019
2 parents 31c2599 + 2b0e0f7 commit ae20e6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/schema.rb
Expand Up @@ -967,7 +967,7 @@
t.index ["surveyable_id", "surveyable_type"], name: "index_surveys_on_surveyable_id_and_surveyable_type"
end

create_table "taggings", id: :bigint, default: nil, options: "ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci", force: :cascade do |t|
create_table "taggings", options: "ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci", force: :cascade do |t|
t.bigint "tag_id"
t.bigint "taggable_id"
t.string "taggable_type"
Expand Down

0 comments on commit ae20e6b

Please sign in to comment.