Commit a0de26f2 authored by Rydkin Maxim's avatar Rydkin Maxim

fix migration error

parent 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%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment