summaryrefslogtreecommitdiff
path: root/db/migrate/20160508221410_set_type_on_legacy_diff_notes.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20160508221410_set_type_on_legacy_diff_notes.rb')
-rw-r--r--db/migrate/20160508221410_set_type_on_legacy_diff_notes.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20160508221410_set_type_on_legacy_diff_notes.rb b/db/migrate/20160508221410_set_type_on_legacy_diff_notes.rb
index 6dd958ff4a0..567754d4f4e 100644
--- a/db/migrate/20160508221410_set_type_on_legacy_diff_notes.rb
+++ b/db/migrate/20160508221410_set_type_on_legacy_diff_notes.rb
@@ -1,5 +1,5 @@
# rubocop:disable all
-class SetTypeOnLegacyDiffNotes < ActiveRecord::Migration
+class SetTypeOnLegacyDiffNotes < ActiveRecord::Migration[4.2]
def change
execute "UPDATE notes SET type = 'LegacyDiffNote' WHERE line_code IS NOT NULL"
end