diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2018-07-25 08:59:23 +0000 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2018-07-25 17:47:12 +0800 |
commit | b95da565cd91fff0729fb4bf6632fb6224de8843 (patch) | |
tree | bc2fb2fe99f42b2aae6ff9ed6557366c7959d7b4 /db/migrate/20180515121227_create_notes_diff_files.rb | |
parent | 068768e1f8b64f7de4fe18b094e7f2e7555c9398 (diff) | |
download | gitlab-ce-b95da565cd91fff0729fb4bf6632fb6224de8843.tar.gz |
Enable rubocop for db/**/* and ee/db/**/*49582-enable-cops-for-db
Diffstat (limited to 'db/migrate/20180515121227_create_notes_diff_files.rb')
-rw-r--r-- | db/migrate/20180515121227_create_notes_diff_files.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/db/migrate/20180515121227_create_notes_diff_files.rb b/db/migrate/20180515121227_create_notes_diff_files.rb index 7108bc1a64b..efcd3bb9c7e 100644 --- a/db/migrate/20180515121227_create_notes_diff_files.rb +++ b/db/migrate/20180515121227_create_notes_diff_files.rb @@ -16,6 +16,7 @@ class CreateNotesDiffFiles < ActiveRecord::Migration t.text :old_path, null: false end + # rubocop:disable Migration/AddConcurrentForeignKey add_foreign_key :note_diff_files, :notes, column: :diff_note_id, on_delete: :cascade end end |