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

Docs rename constraint

上级 c9e023a4
No related branches found
No related tags found
无相关合并请求
...@@ -292,7 +292,7 @@ class ChangeMaintainerNoteLimitInCiRunner < Gitlab::Database::Migration[2.1] ...@@ -292,7 +292,7 @@ class ChangeMaintainerNoteLimitInCiRunner < Gitlab::Database::Migration[2.1]
disable_ddl_transaction! disable_ddl_transaction!
def up def up
add_text_limit :ci_runners, :maintainer_note, 1024, constraint_name: check_constraint_name(:ci_runners, :maintainer_note, 'max_length_1MB') add_text_limit :ci_runners, :maintainer_note, 1024, constraint_name: check_constraint_name(:ci_runners, :maintainer_note, 'max_length_1K')
remove_text_limit :ci_runners, :maintainer_note, constraint_name: check_constraint_name(:ci_runners, :maintainer_note, 'max_length') remove_text_limit :ci_runners, :maintainer_note, constraint_name: check_constraint_name(:ci_runners, :maintainer_note, 'max_length')
end end
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册