add uuid index to epp/repp logs

This commit is contained in:
Georg Kahest 2016-10-04 13:21:40 +03:00
parent 6eef658a99
commit f3f556869c

View file

@ -0,0 +1,7 @@
class AdduuidIndexToEppLogs < ActiveRecord::Migration
def change
ApiLog::EppLog.connection.execute( "CREATE INDEX CONCURRENTLY epp_logs_uuid ON epp_logs USING btree uuid;")
ApiLog::ReppLog.connection.execute( "CREATE INDEX CONCURRENTLY repp_logs_uuid ON repp_logs USING btree uuid;")
end
end