20160508221410_set_type_on_legacy_diff_notes.rb 190 Bytes
Newer Older
1
# rubocop:disable all
2
class SetTypeOnLegacyDiffNotes < ActiveRecord::Migration[4.2]
3 4 5 6
  def change
    execute "UPDATE notes SET type = 'LegacyDiffNote' WHERE line_code IS NOT NULL"
  end
end