20140303094355_fix_query_yaml.rb

Jan from Planio www.plan.io, 2014-03-03 11:47

Download (196 Bytes)

 
1
class FixQueryYaml < ActiveRecord::Migration
2
  def up
3
    Query.connection.execute "UPDATE queries SET filters = REPLACE(filters, ':operator: =', ':operator: \"=\"');"
4
  end
5

    
6
  def down
7
  end
8
end