Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/db
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-05-24 18:08:28 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-05-24 18:08:28 +0300
commit8e1bb8745bafe36f273ce4a095c3576c38ceb8b4 (patch)
treeec27d8dc078480009afe783f7bea87d3927f28f1 /db
parent4b4c254b2cfaca26c2c8e2bda70d45c13e3a6f97 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'db')
-rw-r--r--db/migrate/20220520030504_drop_index_namespaces_on_name.rb15
-rw-r--r--db/schema_migrations/202205200305041
2 files changed, 16 insertions, 0 deletions
diff --git a/db/migrate/20220520030504_drop_index_namespaces_on_name.rb b/db/migrate/20220520030504_drop_index_namespaces_on_name.rb
new file mode 100644
index 00000000000..74019f726aa
--- /dev/null
+++ b/db/migrate/20220520030504_drop_index_namespaces_on_name.rb
@@ -0,0 +1,15 @@
+# frozen_string_literal: true
+
+class DropIndexNamespacesOnName < Gitlab::Database::Migration[2.0]
+ disable_ddl_transaction!
+
+ INDEX_NAME = 'index_namespaces_on_name'
+
+ def up
+ remove_concurrent_index_by_name :namespaces, INDEX_NAME, if_exists: true
+ end
+
+ def down
+ # no-op
+ end
+end
diff --git a/db/schema_migrations/20220520030504 b/db/schema_migrations/20220520030504
new file mode 100644
index 00000000000..284d859b42d
--- /dev/null
+++ b/db/schema_migrations/20220520030504
@@ -0,0 +1 @@
+4d44b5cd1bcd731e841849c65f64a19960fa13cd90d1bda023e797db20b8b8c6 \ No newline at end of file