Skip to content
代码片段 群组 项目
提交 977dbcda 编辑于 作者: João Cunha's avatar João Cunha
浏览文件

Merge branch '414750-drop-column-ci-active-pipelines' into 'master'

Removing ci_active_pipelines from table plan_limits

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



Merged-by: default avatarJoão Alexandre Cunha <j.a.cunha@gmail.com>
Approved-by: default avatarDmitry Gruzd <dgruzd@gitlab.com>
Approved-by: default avatarJoão Alexandre Cunha <j.a.cunha@gmail.com>
Co-authored-by: default avatarMax Fan <mfan@gitlab.com>
No related branches found
No related tags found
无相关合并请求
# frozen_string_literal: true
class RemovePlanLimitsCiActivePipelinesColumn < Gitlab::Database::Migration[2.1]
enable_lock_retries!
def up
remove_column :plan_limits, :ci_active_pipelines
end
def down
add_column :plan_limits, :ci_active_pipelines, :integer, default: 0, null: false
end
end
0a8e2a1116e349879ad938264f1a40e996fc18c7c7b4c164b28b8d28cf1d7ee9
\ No newline at end of file
......@@ -20276,7 +20276,6 @@ ALTER SEQUENCE personal_access_tokens_id_seq OWNED BY personal_access_tokens.id;
CREATE TABLE plan_limits (
id bigint NOT NULL,
plan_id bigint NOT NULL,
ci_active_pipelines integer DEFAULT 0 NOT NULL,
ci_pipeline_size integer DEFAULT 0 NOT NULL,
ci_active_jobs integer DEFAULT 0 NOT NULL,
project_hooks integer DEFAULT 100 NOT NULL,
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册