diff options
author | Andreas Brandl <abrandl@gitlab.com> | 2018-02-05 12:26:33 +0100 |
---|---|---|
committer | Andreas Brandl <abrandl@gitlab.com> | 2018-02-05 16:16:57 +0100 |
commit | d07addbf6e3841ae31a7e62ecbb29523f4d8c859 (patch) | |
tree | 53ab33b6fb26f99a17870e82c79f05248fbf6503 /db/schema.rb | |
parent | 2fe09e6a12e4f533d77517ddd7fe40fc53522f92 (diff) | |
download | gitlab-ce-d07addbf6e3841ae31a7e62ecbb29523f4d8c859.tar.gz |
Add foreign keys to todos table.
Fixes #32282.
Diffstat (limited to 'db/schema.rb')
-rw-r--r-- | db/schema.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/db/schema.rb b/db/schema.rb index 14024164359..dd8d14fb401 100644 --- a/db/schema.rb +++ b/db/schema.rb @@ -2045,7 +2045,10 @@ ActiveRecord::Schema.define(version: 20180202111106) do add_foreign_key "system_note_metadata", "notes", name: "fk_d83a918cb1", on_delete: :cascade add_foreign_key "timelogs", "issues", name: "fk_timelogs_issues_issue_id", on_delete: :cascade add_foreign_key "timelogs", "merge_requests", name: "fk_timelogs_merge_requests_merge_request_id", on_delete: :cascade + add_foreign_key "todos", "notes", name: "fk_91d1f47b13", on_delete: :cascade add_foreign_key "todos", "projects", name: "fk_45054f9c45", on_delete: :cascade + add_foreign_key "todos", "users", column: "author_id", name: "fk_ccf0373936", on_delete: :cascade + add_foreign_key "todos", "users", name: "fk_d94154aa95", on_delete: :cascade add_foreign_key "trending_projects", "projects", on_delete: :cascade add_foreign_key "u2f_registrations", "users" add_foreign_key "user_callouts", "users", on_delete: :cascade |