diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-18 18:09:26 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-04-18 18:09:26 +0300 |
commit | b6b9abb7cdb61f18d6fc5222e52486d7f6c482dc (patch) | |
tree | 1515d3bd2dec5e8f2705212f4548d3d8e6259a49 /db | |
parent | ba12560b3fcd6e24d0ab7e14ae71917a9a81f6aa (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'db')
27 files changed, 221 insertions, 39 deletions
diff --git a/db/post_migrate/20230412201517_remove_clusters_applications_cert_managers_fk.rb b/db/post_migrate/20230412201517_remove_clusters_applications_cert_managers_fk.rb new file mode 100644 index 00000000000..e565583b308 --- /dev/null +++ b/db/post_migrate/20230412201517_remove_clusters_applications_cert_managers_fk.rb @@ -0,0 +1,16 @@ +# frozen_string_literal: true + +class RemoveClustersApplicationsCertManagersFk < Gitlab::Database::Migration[2.1] + disable_ddl_transaction! + + def up + with_lock_retries do + remove_foreign_key_if_exists(:clusters_applications_cert_managers, column: :cluster_id) + end + end + + def down + add_concurrent_foreign_key :clusters_applications_cert_managers, :clusters, + column: :cluster_id, on_delete: :cascade, name: 'fk_rails_9e4f2cb4b2' + end +end diff --git a/db/post_migrate/20230412201528_remove_clusters_applications_cilium_fk.rb b/db/post_migrate/20230412201528_remove_clusters_applications_cilium_fk.rb new file mode 100644 index 00000000000..e1ebff390b7 --- /dev/null +++ b/db/post_migrate/20230412201528_remove_clusters_applications_cilium_fk.rb @@ -0,0 +1,16 @@ +# frozen_string_literal: true + +class RemoveClustersApplicationsCiliumFk < Gitlab::Database::Migration[2.1] + disable_ddl_transaction! + + def up + with_lock_retries do + remove_foreign_key_if_exists(:clusters_applications_cilium, column: :cluster_id) + end + end + + def down + add_concurrent_foreign_key :clusters_applications_cilium, :clusters, + column: :cluster_id, on_delete: :cascade, name: 'fk_rails_59dc12eea6' + end +end diff --git a/db/post_migrate/20230412201539_remove_clusters_applications_crossplane_fk.rb b/db/post_migrate/20230412201539_remove_clusters_applications_crossplane_fk.rb new file mode 100644 index 00000000000..46687466be7 --- /dev/null +++ b/db/post_migrate/20230412201539_remove_clusters_applications_crossplane_fk.rb @@ -0,0 +1,16 @@ +# frozen_string_literal: true + +class RemoveClustersApplicationsCrossplaneFk < Gitlab::Database::Migration[2.1] + disable_ddl_transaction! + + def up + with_lock_retries do + remove_foreign_key_if_exists(:clusters_applications_crossplane, column: :cluster_id) + end + end + + def down + add_concurrent_foreign_key :clusters_applications_crossplane, :clusters, + column: :cluster_id, on_delete: :cascade, name: 'fk_rails_87186702df' + end +end diff --git a/db/post_migrate/20230412201549_remove_clusters_applications_helm_fk.rb b/db/post_migrate/20230412201549_remove_clusters_applications_helm_fk.rb new file mode 100644 index 00000000000..6e2ccd53646 --- /dev/null +++ b/db/post_migrate/20230412201549_remove_clusters_applications_helm_fk.rb @@ -0,0 +1,16 @@ +# frozen_string_literal: true + +class RemoveClustersApplicationsHelmFk < Gitlab::Database::Migration[2.1] + disable_ddl_transaction! + + def up + with_lock_retries do + remove_foreign_key_if_exists(:clusters_applications_helm, column: :cluster_id) + end + end + + def down + add_concurrent_foreign_key :clusters_applications_helm, :clusters, + column: :cluster_id, on_delete: :cascade, name: 'fk_rails_3e2b1c06bc' + end +end diff --git a/db/post_migrate/20230412201600_remove_clusters_applications_ingress_fk.rb b/db/post_migrate/20230412201600_remove_clusters_applications_ingress_fk.rb new file mode 100644 index 00000000000..d911b105a24 --- /dev/null +++ b/db/post_migrate/20230412201600_remove_clusters_applications_ingress_fk.rb @@ -0,0 +1,16 @@ +# frozen_string_literal: true + +class RemoveClustersApplicationsIngressFk < Gitlab::Database::Migration[2.1] + disable_ddl_transaction! + + def up + with_lock_retries do + remove_foreign_key_if_exists(:clusters_applications_ingress, column: :cluster_id) + end + end + + def down + add_concurrent_foreign_key :clusters_applications_ingress, :clusters, + column: :cluster_id, on_delete: :cascade, name: 'fk_rails_753a7b41c1' + end +end diff --git a/db/post_migrate/20230412201611_remove_clusters_applications_jupyter_fk.rb b/db/post_migrate/20230412201611_remove_clusters_applications_jupyter_fk.rb new file mode 100644 index 00000000000..063a2e4c622 --- /dev/null +++ b/db/post_migrate/20230412201611_remove_clusters_applications_jupyter_fk.rb @@ -0,0 +1,16 @@ +# frozen_string_literal: true + +class RemoveClustersApplicationsJupyterFk < Gitlab::Database::Migration[2.1] + disable_ddl_transaction! + + def up + with_lock_retries do + remove_foreign_key_if_exists(:clusters_applications_jupyter, column: :cluster_id) + end + end + + def down + add_concurrent_foreign_key :clusters_applications_jupyter, :clusters, + column: :cluster_id, on_delete: :cascade, name: 'fk_rails_17df21c98c' + end +end diff --git a/db/post_migrate/20230412201621_remove_clusters_applications_knative_fk.rb b/db/post_migrate/20230412201621_remove_clusters_applications_knative_fk.rb new file mode 100644 index 00000000000..8f97e886b85 --- /dev/null +++ b/db/post_migrate/20230412201621_remove_clusters_applications_knative_fk.rb @@ -0,0 +1,16 @@ +# frozen_string_literal: true + +class RemoveClustersApplicationsKnativeFk < Gitlab::Database::Migration[2.1] + disable_ddl_transaction! + + def up + with_lock_retries do + remove_foreign_key_if_exists(:clusters_applications_knative, column: :cluster_id) + end + end + + def down + add_concurrent_foreign_key :clusters_applications_knative, :clusters, + column: :cluster_id, on_delete: :cascade, name: 'fk_rails_54fc91e0a0' + end +end diff --git a/db/post_migrate/20230412201632_remove_clusters_applications_prometheus_fk.rb b/db/post_migrate/20230412201632_remove_clusters_applications_prometheus_fk.rb new file mode 100644 index 00000000000..735019bfe5a --- /dev/null +++ b/db/post_migrate/20230412201632_remove_clusters_applications_prometheus_fk.rb @@ -0,0 +1,16 @@ +# frozen_string_literal: true + +class RemoveClustersApplicationsPrometheusFk < Gitlab::Database::Migration[2.1] + disable_ddl_transaction! + + def up + with_lock_retries do + remove_foreign_key_if_exists(:clusters_applications_prometheus, column: :cluster_id) + end + end + + def down + add_concurrent_foreign_key :clusters_applications_prometheus, :clusters, + column: :cluster_id, on_delete: :cascade, name: 'fk_557e773639' + end +end diff --git a/db/post_migrate/20230412201642_remove_clusters_applications_runners_fk.rb b/db/post_migrate/20230412201642_remove_clusters_applications_runners_fk.rb new file mode 100644 index 00000000000..4921d0c8744 --- /dev/null +++ b/db/post_migrate/20230412201642_remove_clusters_applications_runners_fk.rb @@ -0,0 +1,16 @@ +# frozen_string_literal: true + +class RemoveClustersApplicationsRunnersFk < Gitlab::Database::Migration[2.1] + disable_ddl_transaction! + + def up + with_lock_retries do + remove_foreign_key_if_exists(:clusters_applications_runners, column: :cluster_id) + end + end + + def down + add_concurrent_foreign_key :clusters_applications_runners, :clusters, + column: :cluster_id, on_delete: :cascade, name: 'fk_rails_22388594e9' + end +end diff --git a/db/post_migrate/20230412203234_remove_clusters_applications_jupyter_oauth_fk.rb b/db/post_migrate/20230412203234_remove_clusters_applications_jupyter_oauth_fk.rb new file mode 100644 index 00000000000..63474ebec36 --- /dev/null +++ b/db/post_migrate/20230412203234_remove_clusters_applications_jupyter_oauth_fk.rb @@ -0,0 +1,16 @@ +# frozen_string_literal: true + +class RemoveClustersApplicationsJupyterOauthFk < Gitlab::Database::Migration[2.1] + disable_ddl_transaction! + + def up + with_lock_retries do + remove_foreign_key_if_exists(:clusters_applications_jupyter, column: :oauth_application_id) + end + end + + def down + add_concurrent_foreign_key :clusters_applications_jupyter, :oauth_applications, + column: :oauth_application_id, on_delete: :nullify, name: 'fk_rails_331f0aff78' + end +end diff --git a/db/post_migrate/20230412204143_remove_serverless_domain_cluster_pages_fk.rb b/db/post_migrate/20230412204143_remove_serverless_domain_cluster_pages_fk.rb new file mode 100644 index 00000000000..8f66714d03b --- /dev/null +++ b/db/post_migrate/20230412204143_remove_serverless_domain_cluster_pages_fk.rb @@ -0,0 +1,16 @@ +# frozen_string_literal: true + +class RemoveServerlessDomainClusterPagesFk < Gitlab::Database::Migration[2.1] + disable_ddl_transaction! + + def up + with_lock_retries do + remove_foreign_key_if_exists(:serverless_domain_cluster, column: :pages_domain_id) + end + end + + def down + add_concurrent_foreign_key :serverless_domain_cluster, :pages_domains, + column: :pages_domain_id, on_delete: :cascade, name: 'fk_rails_c09009dee1' + end +end diff --git a/db/post_migrate/20230412204201_remove_serverless_domain_cluster_knative_fk.rb b/db/post_migrate/20230412204201_remove_serverless_domain_cluster_knative_fk.rb new file mode 100644 index 00000000000..1ac60de59d0 --- /dev/null +++ b/db/post_migrate/20230412204201_remove_serverless_domain_cluster_knative_fk.rb @@ -0,0 +1,16 @@ +# frozen_string_literal: true + +class RemoveServerlessDomainClusterKnativeFk < Gitlab::Database::Migration[2.1] + disable_ddl_transaction! + + def up + with_lock_retries do + remove_foreign_key_if_exists(:serverless_domain_cluster, column: :clusters_applications_knative_id) + end + end + + def down + add_concurrent_foreign_key :serverless_domain_cluster, :clusters_applications_knative, + column: :clusters_applications_knative_id, on_delete: :cascade, name: 'fk_rails_e59e868733' + end +end diff --git a/db/post_migrate/20230412204224_remove_serverless_domain_cluster_creator_fk.rb b/db/post_migrate/20230412204224_remove_serverless_domain_cluster_creator_fk.rb new file mode 100644 index 00000000000..8d0b62c9f6e --- /dev/null +++ b/db/post_migrate/20230412204224_remove_serverless_domain_cluster_creator_fk.rb @@ -0,0 +1,16 @@ +# frozen_string_literal: true + +class RemoveServerlessDomainClusterCreatorFk < Gitlab::Database::Migration[2.1] + disable_ddl_transaction! + + def up + with_lock_retries do + remove_foreign_key_if_exists(:serverless_domain_cluster, column: :creator_id) + end + end + + def down + add_concurrent_foreign_key :serverless_domain_cluster, :users, + column: :creator_id, on_delete: :nullify, name: 'fk_rails_fbdba67eb1' + end +end diff --git a/db/schema_migrations/20230412201517 b/db/schema_migrations/20230412201517 new file mode 100644 index 00000000000..8ecf8e9b941 --- /dev/null +++ b/db/schema_migrations/20230412201517 @@ -0,0 +1 @@ +4719d78fb3b9b2ec197edfbc4e0f7d4e79b1ecb4e71e1c01a2f7c966e2d0aef1
\ No newline at end of file diff --git a/db/schema_migrations/20230412201528 b/db/schema_migrations/20230412201528 new file mode 100644 index 00000000000..23631545870 --- /dev/null +++ b/db/schema_migrations/20230412201528 @@ -0,0 +1 @@ +f98482c919a5a5ffc6284b4fe81d39d4ae46afc2c0bacb7e726425ee6f187bd7
\ No newline at end of file diff --git a/db/schema_migrations/20230412201539 b/db/schema_migrations/20230412201539 new file mode 100644 index 00000000000..d1f9056904c --- /dev/null +++ b/db/schema_migrations/20230412201539 @@ -0,0 +1 @@ +8c05ce2cfd9d56e89035a74b4f86c4a96e00e804a4ab6710e9f8b5f878f49356
\ No newline at end of file diff --git a/db/schema_migrations/20230412201549 b/db/schema_migrations/20230412201549 new file mode 100644 index 00000000000..84b0b0ebca5 --- /dev/null +++ b/db/schema_migrations/20230412201549 @@ -0,0 +1 @@ +099cdc51e234b92894828e9f736ce557ae5102bf7b7b56014c31d4cf8ee97f37
\ No newline at end of file diff --git a/db/schema_migrations/20230412201600 b/db/schema_migrations/20230412201600 new file mode 100644 index 00000000000..990a49c26a4 --- /dev/null +++ b/db/schema_migrations/20230412201600 @@ -0,0 +1 @@ +271b199deb4ce20c30fa5fb0b07d5dea8819f79a8bf9dac0eba3121ae980d614
\ No newline at end of file diff --git a/db/schema_migrations/20230412201611 b/db/schema_migrations/20230412201611 new file mode 100644 index 00000000000..1fd41d259be --- /dev/null +++ b/db/schema_migrations/20230412201611 @@ -0,0 +1 @@ +2ed349b5aee1df4644e16df2fecc247108585ea7c49989ed2c0812be48d5be1c
\ No newline at end of file diff --git a/db/schema_migrations/20230412201621 b/db/schema_migrations/20230412201621 new file mode 100644 index 00000000000..accd8b36021 --- /dev/null +++ b/db/schema_migrations/20230412201621 @@ -0,0 +1 @@ +857a60f6916c045790dca8621c69601dbfb07f7524b8cdb6df6ac8a34ee1782b
\ No newline at end of file diff --git a/db/schema_migrations/20230412201632 b/db/schema_migrations/20230412201632 new file mode 100644 index 00000000000..1d72fb6b1aa --- /dev/null +++ b/db/schema_migrations/20230412201632 @@ -0,0 +1 @@ +2c20678f0e73f75706eb3e3b3115b38f3c313ccb77f2fdb7bd5ebc971c8093ef
\ No newline at end of file diff --git a/db/schema_migrations/20230412201642 b/db/schema_migrations/20230412201642 new file mode 100644 index 00000000000..743d67ab0e3 --- /dev/null +++ b/db/schema_migrations/20230412201642 @@ -0,0 +1 @@ +c4b1137f6d3a111c230ad7f6d0d29c64d919daa6a8628e945152d12c15c421fb
\ No newline at end of file diff --git a/db/schema_migrations/20230412203234 b/db/schema_migrations/20230412203234 new file mode 100644 index 00000000000..8ab84c8424f --- /dev/null +++ b/db/schema_migrations/20230412203234 @@ -0,0 +1 @@ +4e5758e3112cad9b5a243b0123c365869b3d7a0de4800d0e0672ae82f71b8053
\ No newline at end of file diff --git a/db/schema_migrations/20230412204143 b/db/schema_migrations/20230412204143 new file mode 100644 index 00000000000..b59f406ebbe --- /dev/null +++ b/db/schema_migrations/20230412204143 @@ -0,0 +1 @@ +12acd41d0550fcf363d3db4a093b64465d59004cbb07bfa0da073f0d7c4acf52
\ No newline at end of file diff --git a/db/schema_migrations/20230412204201 b/db/schema_migrations/20230412204201 new file mode 100644 index 00000000000..12f879042ac --- /dev/null +++ b/db/schema_migrations/20230412204201 @@ -0,0 +1 @@ +f9466af9e29ae09542c1bd64cae923ed34f079d405a35704e55d01456eb6a519
\ No newline at end of file diff --git a/db/schema_migrations/20230412204224 b/db/schema_migrations/20230412204224 new file mode 100644 index 00000000000..026b02e1cbd --- /dev/null +++ b/db/schema_migrations/20230412204224 @@ -0,0 +1 @@ +e2e596b67adcca6ccf0b714aafdadaffded1d11c1fc043aa13d9499552c37433
\ No newline at end of file diff --git a/db/structure.sql b/db/structure.sql index ac29ad2625f..ce4a20a8483 100644 --- a/db/structure.sql +++ b/db/structure.sql @@ -34733,9 +34733,6 @@ ALTER TABLE ONLY path_locks ALTER TABLE ONLY agent_user_access_group_authorizations ADD CONSTRAINT fk_53fd98ccbf FOREIGN KEY (group_id) REFERENCES namespaces(id) ON DELETE CASCADE; -ALTER TABLE ONLY clusters_applications_prometheus - ADD CONSTRAINT fk_557e773639 FOREIGN KEY (cluster_id) REFERENCES clusters(id) ON DELETE CASCADE; - ALTER TABLE ONLY terraform_states ADD CONSTRAINT fk_558901b030 FOREIGN KEY (locked_by_user_id) REFERENCES users(id) ON DELETE SET NULL; @@ -35594,9 +35591,6 @@ ALTER TABLE ONLY security_orchestration_policy_rule_schedules ALTER TABLE ONLY incident_management_escalation_rules ADD CONSTRAINT fk_rails_17dbea07a6 FOREIGN KEY (policy_id) REFERENCES incident_management_escalation_policies(id) ON DELETE CASCADE; -ALTER TABLE ONLY clusters_applications_jupyter - ADD CONSTRAINT fk_rails_17df21c98c FOREIGN KEY (cluster_id) REFERENCES clusters(id) ON DELETE CASCADE; - ALTER TABLE ONLY cluster_providers_aws ADD CONSTRAINT fk_rails_18983d9ea4 FOREIGN KEY (cluster_id) REFERENCES clusters(id) ON DELETE CASCADE; @@ -35672,9 +35666,6 @@ ALTER TABLE ONLY user_statuses ALTER TABLE ONLY users_ops_dashboard_projects ADD CONSTRAINT fk_rails_220a0562db FOREIGN KEY (user_id) REFERENCES users(id) ON DELETE CASCADE; -ALTER TABLE ONLY clusters_applications_runners - ADD CONSTRAINT fk_rails_22388594e9 FOREIGN KEY (cluster_id) REFERENCES clusters(id) ON DELETE CASCADE; - ALTER TABLE ONLY service_desk_settings ADD CONSTRAINT fk_rails_223a296a85 FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE; @@ -35789,9 +35780,6 @@ ALTER TABLE ONLY zoom_meetings ALTER TABLE ONLY container_repositories ADD CONSTRAINT fk_rails_32f7bf5aad FOREIGN KEY (project_id) REFERENCES projects(id); -ALTER TABLE ONLY clusters_applications_jupyter - ADD CONSTRAINT fk_rails_331f0aff78 FOREIGN KEY (oauth_application_id) REFERENCES oauth_applications(id) ON DELETE SET NULL; - ALTER TABLE ONLY alert_management_alert_metric_images ADD CONSTRAINT fk_rails_338e55b408 FOREIGN KEY (alert_id) REFERENCES alert_management_alerts(id) ON DELETE CASCADE; @@ -35861,9 +35849,6 @@ ALTER TABLE ONLY note_diff_files ALTER TABLE ONLY snippet_user_mentions ADD CONSTRAINT fk_rails_3e00189191 FOREIGN KEY (snippet_id) REFERENCES snippets(id) ON DELETE CASCADE; -ALTER TABLE ONLY clusters_applications_helm - ADD CONSTRAINT fk_rails_3e2b1c06bc FOREIGN KEY (cluster_id) REFERENCES clusters(id) ON DELETE CASCADE; - ALTER TABLE ONLY epic_user_mentions ADD CONSTRAINT fk_rails_3eaf4d88cc FOREIGN KEY (epic_id) REFERENCES epics(id) ON DELETE CASCADE; @@ -36017,9 +36002,6 @@ ALTER TABLE ONLY analytics_cycle_analytics_group_value_streams ALTER TABLE ONLY geo_node_namespace_links ADD CONSTRAINT fk_rails_546bf08d3e FOREIGN KEY (geo_node_id) REFERENCES geo_nodes(id) ON DELETE CASCADE; -ALTER TABLE ONLY clusters_applications_knative - ADD CONSTRAINT fk_rails_54fc91e0a0 FOREIGN KEY (cluster_id) REFERENCES clusters(id) ON DELETE CASCADE; - ALTER TABLE ONLY issuable_metric_images ADD CONSTRAINT fk_rails_56417a5a7f FOREIGN KEY (issue_id) REFERENCES issues(id) ON DELETE CASCADE; @@ -36038,9 +36020,6 @@ ALTER TABLE ONLY incident_management_timeline_event_tag_links ALTER TABLE ONLY packages_debian_project_architectures ADD CONSTRAINT fk_rails_5808663adf FOREIGN KEY (distribution_id) REFERENCES packages_debian_project_distributions(id) ON DELETE CASCADE; -ALTER TABLE ONLY clusters_applications_cilium - ADD CONSTRAINT fk_rails_59dc12eea6 FOREIGN KEY (cluster_id) REFERENCES clusters(id) ON DELETE CASCADE; - ALTER TABLE ONLY analytics_cycle_analytics_group_stages ADD CONSTRAINT fk_rails_5a22f40223 FOREIGN KEY (start_event_label_id) REFERENCES labels(id) ON DELETE CASCADE; @@ -36254,9 +36233,6 @@ ALTER TABLE ONLY group_crm_settings ALTER TABLE ONLY pm_package_version_licenses ADD CONSTRAINT fk_rails_7520ea026d FOREIGN KEY (pm_license_id) REFERENCES pm_licenses(id) ON DELETE CASCADE; -ALTER TABLE ONLY clusters_applications_ingress - ADD CONSTRAINT fk_rails_753a7b41c1 FOREIGN KEY (cluster_id) REFERENCES clusters(id) ON DELETE CASCADE; - ALTER TABLE ONLY incident_management_timeline_event_tag_links ADD CONSTRAINT fk_rails_753b8b6ee3 FOREIGN KEY (timeline_event_tag_id) REFERENCES incident_management_timeline_event_tags(id) ON DELETE CASCADE; @@ -36350,9 +36326,6 @@ ALTER TABLE ONLY analytics_language_trend_repository_languages ALTER TABLE ONLY merge_request_diff_details ADD CONSTRAINT fk_rails_86f4d24ecd FOREIGN KEY (merge_request_diff_id) REFERENCES merge_request_diffs(id) ON DELETE CASCADE; -ALTER TABLE ONLY clusters_applications_crossplane - ADD CONSTRAINT fk_rails_87186702df FOREIGN KEY (cluster_id) REFERENCES clusters(id) ON DELETE CASCADE; - ALTER TABLE ONLY packages_package_file_build_infos ADD CONSTRAINT fk_rails_871ca3ae21 FOREIGN KEY (package_file_id) REFERENCES packages_package_files(id) ON DELETE CASCADE; @@ -36521,9 +36494,6 @@ ALTER TABLE ONLY badges ALTER TABLE ONLY vulnerability_finding_signatures ADD CONSTRAINT fk_rails_9e0baf9dcd FOREIGN KEY (finding_id) REFERENCES vulnerability_occurrences(id) ON DELETE CASCADE; -ALTER TABLE ONLY clusters_applications_cert_managers - ADD CONSTRAINT fk_rails_9e4f2cb4b2 FOREIGN KEY (cluster_id) REFERENCES clusters(id) ON DELETE CASCADE; - ALTER TABLE ONLY timelog_categories ADD CONSTRAINT fk_rails_9f27b821a8 FOREIGN KEY (namespace_id) REFERENCES namespaces(id) ON DELETE CASCADE; @@ -36749,9 +36719,6 @@ ALTER TABLE ONLY design_management_designs ALTER TABLE ONLY atlassian_identities ADD CONSTRAINT fk_rails_c02928bc18 FOREIGN KEY (user_id) REFERENCES users(id) ON DELETE CASCADE; -ALTER TABLE ONLY serverless_domain_cluster - ADD CONSTRAINT fk_rails_c09009dee1 FOREIGN KEY (pages_domain_id) REFERENCES pages_domains(id) ON DELETE CASCADE; - ALTER TABLE ONLY slack_integrations_scopes ADD CONSTRAINT fk_rails_c0e018a6fe FOREIGN KEY (slack_api_scope_id) REFERENCES slack_api_scopes(id) ON DELETE CASCADE; @@ -36983,9 +36950,6 @@ ALTER TABLE ONLY vulnerability_occurrence_identifiers ALTER TABLE ONLY vulnerability_flags ADD CONSTRAINT fk_rails_e59393b48b FOREIGN KEY (vulnerability_occurrence_id) REFERENCES vulnerability_occurrences(id) ON DELETE CASCADE; -ALTER TABLE ONLY serverless_domain_cluster - ADD CONSTRAINT fk_rails_e59e868733 FOREIGN KEY (clusters_applications_knative_id) REFERENCES clusters_applications_knative(id) ON DELETE CASCADE; - ALTER TABLE ONLY incident_management_escalation_policies ADD CONSTRAINT fk_rails_e5b513daa7 FOREIGN KEY (project_id) REFERENCES projects(id) ON DELETE CASCADE; @@ -37145,9 +37109,6 @@ ALTER TABLE ONLY operations_feature_flags_issues ALTER TABLE ONLY board_project_recent_visits ADD CONSTRAINT fk_rails_fb6fc419cb FOREIGN KEY (user_id) REFERENCES users(id) ON DELETE CASCADE; -ALTER TABLE ONLY serverless_domain_cluster - ADD CONSTRAINT fk_rails_fbdba67eb1 FOREIGN KEY (creator_id) REFERENCES users(id) ON DELETE SET NULL; - ALTER TABLE ONLY ci_job_variables ADD CONSTRAINT fk_rails_fbf3b34792_p FOREIGN KEY (partition_id, job_id) REFERENCES ci_builds(partition_id, id) ON UPDATE CASCADE ON DELETE CASCADE; |