diff options
author | Rydkin Maxim <maks.rydkin@gmail.com> | 2017-03-21 09:30:23 +0300 |
---|---|---|
committer | Rydkin Maxim <maks.rydkin@gmail.com> | 2017-04-04 21:11:25 +0300 |
commit | a0de26f2c439554feb446c5283c07ea90279304c (patch) | |
tree | 6110638fb853dde49dfe877fc31ed1e49827f929 /db/migrate/20170312114329_add_auto_canceled_by_id_to_pipeline.rb | |
parent | 63dbdb9f52d1aa56cbf1e15022623c306083fdd1 (diff) |
fix migration error
Diffstat (limited to 'db/migrate/20170312114329_add_auto_canceled_by_id_to_pipeline.rb')
-rw-r--r-- | db/migrate/20170312114329_add_auto_canceled_by_id_to_pipeline.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20170312114329_add_auto_canceled_by_id_to_pipeline.rb b/db/migrate/20170312114329_add_auto_canceled_by_id_to_pipeline.rb index 46dab852fcf..6e89967e4be 100644 --- a/db/migrate/20170312114329_add_auto_canceled_by_id_to_pipeline.rb +++ b/db/migrate/20170312114329_add_auto_canceled_by_id_to_pipeline.rb @@ -25,7 +25,7 @@ class AddAutoCanceledByIdToPipeline < ActiveRecord::Migration def up on_delete = - if Database.mysql? + if Gitlab::Database.mysql? :nullify else 'SET NULL' |