BigW Consortium Gitlab

20160307221555_disallow_blank_line_code_on_note.rb 200 Bytes
Newer Older
1
# rubocop:disable all
2 3 4 5 6 7 8 9 10
class DisallowBlankLineCodeOnNote < ActiveRecord::Migration
  def up
    execute("UPDATE notes SET line_code = NULL WHERE line_code = ''")
  end

  def down
    # noop
  end
end