diff options
Diffstat (limited to 'db/migrate/20150509180749_convert_legacy_reference_notes.rb')
-rw-r--r-- | db/migrate/20150509180749_convert_legacy_reference_notes.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20150509180749_convert_legacy_reference_notes.rb b/db/migrate/20150509180749_convert_legacy_reference_notes.rb index cd8bf90108d..f5c2deedf55 100644 --- a/db/migrate/20150509180749_convert_legacy_reference_notes.rb +++ b/db/migrate/20150509180749_convert_legacy_reference_notes.rb @@ -6,7 +6,7 @@ # becomes # # mentioned in 54f7727c850972f0401c1312a7c4a6a380de5666 -class ConvertLegacyReferenceNotes < ActiveRecord::Migration +class ConvertLegacyReferenceNotes < ActiveRecord::Migration[4.2] def up execute %q{UPDATE notes SET note = trim(both '_' from note) WHERE system = true AND note LIKE '\_%\_'} end |