Skip to content
代码片段 群组 项目
未验证 提交 15ca0b88 编辑于 作者: Eugenia Grieff's avatar Eugenia Grieff 提交者: GitLab
浏览文件

Merge branch '503306-drop-namespace_details-pending_delete-column' into 'master'

Drop namespace_details.pending_delete column

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/173383



Merged-by: default avatarEugenia Grieff <egrieff@gitlab.com>
Approved-by: default avatarMax Woolf <mwoolf@gitlab.com>
Approved-by: default avatarMichał Zając <mzajac@gitlab.com>
Approved-by: default avatarSam Figueroa <sfigueroa@gitlab.com>
Approved-by: default avatarEugenia Grieff <egrieff@gitlab.com>
Co-authored-by: default avatarShane Maglangit <smaglangit@gitlab.com>
No related branches found
No related tags found
无相关合并请求
......@@ -7,7 +7,7 @@ class Namespace::Detail < ApplicationRecord
validates :namespace, presence: true
validates :description, length: { maximum: 255 }
ignore_column :pending_delete, remove_with: '17.7', remove_after: '2024-11-22'
ignore_column :pending_delete, remove_with: '17.8', remove_after: '2024-12-13'
self.primary_key = :namespace_id
......
# frozen_string_literal: true
class RemoveNamespacePendingDeleteColumn < Gitlab::Database::Migration[2.2]
milestone '17.7'
def up
remove_column :namespace_details, :pending_delete
end
def down
add_column :namespace_details, :pending_delete, :boolean, default: false, null: false
end
end
a44e559fb025b209754641f697bed11e39657fb61076e0288ff9e011628590b5
\ No newline at end of file
......@@ -15044,7 +15044,6 @@ CREATE TABLE namespace_details (
description text,
description_html text,
creator_id bigint,
pending_delete boolean DEFAULT false NOT NULL,
deleted_at timestamp with time zone
);
 
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册