Commit 0a731589 authored by Nick Thomas's avatar Nick Thomas

Fix an Elasticsearch migration

parent ec4788d0
......@@ -28,7 +28,7 @@ class MigrateOldElasticsearchSettings < ActiveRecord::Migration
.set(settings[:elasticsearch_url] => urls.join(','))
.where(settings[:id].eq(id))
connection.exec_update(updater.to_sql)
connection.exec_update(updater.to_sql, self.class.name, [])
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment