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>2023-10-25 07:25:02 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-10-25 07:25:02 +0300
commit2058e2066f2aa666954d97b2ad9a06d105df9b9a (patch)
tree340446e1eee92e2128bcc78371ab43d63dd6f233 /db
parent172db894b6f2373b73c8363fd0b81fcacc06dbad (diff)
Add latest changes from gitlab-org/gitlab@16-5-stable-ee
Diffstat (limited to 'db')
-rw-r--r--db/post_migrate/20230918084159_drop_columns_from_geo_node_status_table.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/db/post_migrate/20230918084159_drop_columns_from_geo_node_status_table.rb b/db/post_migrate/20230918084159_drop_columns_from_geo_node_status_table.rb
index 54941552ef9..ecd52d9313d 100644
--- a/db/post_migrate/20230918084159_drop_columns_from_geo_node_status_table.rb
+++ b/db/post_migrate/20230918084159_drop_columns_from_geo_node_status_table.rb
@@ -4,7 +4,7 @@ class DropColumnsFromGeoNodeStatusTable < Gitlab::Database::Migration[2.1]
enable_lock_retries!
def up
- remove_columns :geo_node_statuses,
+ [
:wikis_checksum_failed_count,
:wikis_checksum_mismatch_count,
:wikis_checksummed_count,
@@ -17,6 +17,9 @@ class DropColumnsFromGeoNodeStatusTable < Gitlab::Database::Migration[2.1]
:design_repositories_synced_count,
:design_repositories_failed_count,
:design_repositories_registry_count
+ ].each do |column_name|
+ remove_column :geo_node_statuses, column_name, if_exists: true
+ end
end
def down