summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2017-09-07 22:47:22 +0000
committerYorick Peterse <yorickpeterse@gmail.com>2017-09-07 22:47:22 +0000
commit293cbdc99721ab7ea7b8fdc76e5223554c495d0f (patch)
tree9e8704f593831a52c3f9e278887e26695bfcbd43
parente4c7fdf61676581b01138dd15b2ce28773d88c73 (diff)
parent23d8db3922afa9de153f627a98519c53a121129f (diff)
downloadgitlab-ce-293cbdc99721ab7ea7b8fdc76e5223554c495d0f.tar.gz
Merge branch 'jk-update-schema' into 'master'rd-test
Update db schema to correspond with migrations See merge request !14115
-rw-r--r--db/schema.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/schema.rb b/db/schema.rb
index bcb750184db..2149f5ad23d 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -1712,7 +1712,7 @@ ActiveRecord::Schema.define(version: 20170905112933) do
add_foreign_key "issue_assignees", "users", name: "fk_5e0c8d9154", on_delete: :cascade
add_foreign_key "issue_metrics", "issues", on_delete: :cascade
add_foreign_key "issues", "projects", name: "fk_899c8f3231", on_delete: :cascade
- add_foreign_key "issues", "users", column: "author_id", name: "fk_05f1e72feb", on_delete: :cascade
+ add_foreign_key "issues", "users", column: "author_id", name: "fk_05f1e72feb", on_delete: :nullify
add_foreign_key "label_priorities", "labels", on_delete: :cascade
add_foreign_key "label_priorities", "projects", on_delete: :cascade
add_foreign_key "labels", "namespaces", column: "group_id", on_delete: :cascade