Jan from Planio www.plan.io, 2014-03-03 11:47
class FixQueryYaml < ActiveRecord::Migration
def up
Query.connection.execute "UPDATE queries SET filters = REPLACE(filters, ':operator: =', ':operator: \"=\"');"
end
def down