internetee-registry/db/migrate/20161004101419_adduuid_index_to_epp_logs.rb
2016-10-04 13:30:35 +03:00

7 lines
320 B
Ruby

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