提交 a0de26f2 编写于 作者: R Rydkin Maxim

fix migration error

上级 63dbdb9f
......@@ -25,7 +25,7 @@ class AddAutoCanceledByIdToPipeline < ActiveRecord::Migration
def up
on_delete =
if Database.mysql?
if Gitlab::Database.mysql?
:nullify
else
'SET NULL'
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册