summaryrefslogtreecommitdiff
path: root/db/schema.rb
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2018-05-31 17:01:33 +0300
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2018-05-31 17:01:33 +0300
commit0b2ca23b9c82bfc728d6ab386ca93ecd51bafcaa (patch)
treeaf261523b53fbff148aa165ab548611b3ff0668e /db/schema.rb
parent22866a28a5f27b2a41be99799aaa85fa4098fba1 (diff)
downloadgitlab-ce-0b2ca23b9c82bfc728d6ab386ca93ecd51bafcaa.tar.gz
Improve jupyter app db migrations
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'db/schema.rb')
-rw-r--r--db/schema.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/db/schema.rb b/db/schema.rb
index fc03f506139..05f8fc94c64 100644
--- a/db/schema.rb
+++ b/db/schema.rb
@@ -2208,6 +2208,8 @@ ActiveRecord::Schema.define(version: 20180529093006) do
add_foreign_key "clusters_applications_helm", "clusters", on_delete: :cascade
add_foreign_key "clusters_applications_ingress", "clusters", name: "fk_753a7b41c1", on_delete: :cascade
add_foreign_key "clusters_applications_prometheus", "clusters", name: "fk_557e773639", on_delete: :cascade
+ add_foreign_key "clusters_applications_jupyter", "clusters", on_delete: :cascade
+ add_foreign_key "clusters_applications_jupyter", "oauth_applications", on_delete: :nullify
add_foreign_key "clusters_applications_runners", "ci_runners", column: "runner_id", name: "fk_02de2ded36", on_delete: :nullify
add_foreign_key "clusters_applications_runners", "clusters", on_delete: :cascade
add_foreign_key "container_repositories", "projects"