Skip to content
代码片段 群组 项目
未验证 提交 1f98c075 编辑于 作者: Arthur D's avatar Arthur D 提交者: GitLab
浏览文件

Validate not null constraint on projects.project_namespace_id column

Changelog: other
上级 0883a3e7
No related branches found
No related tags found
无相关合并请求
# frozen_string_literal: true
class PrepareProjectNamespaceIdNotNullValidation < Gitlab::Database::Migration[2.2]
milestone '17.9'
CONSTRAINT_NAME = 'check_fa75869cb1'
def up
prepare_async_check_constraint_validation :projects, name: CONSTRAINT_NAME
end
def down
unprepare_async_check_constraint_validation :projects, name: CONSTRAINT_NAME
end
end
611a66c80598f6121cf50b516b41a7b4bf432b001eab05afe4b1489f2ef6dd97
\ No newline at end of file
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册