Merge pull request #193 from internetee/add-uuid-index-master

Add uuid index master
This commit is contained in:
teadur 2016-10-04 13:47:00 +03:00 committed by GitHub
commit ad90ce1c04

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