internetee-registry/db/migrate/20161004101419_adduuid_index_to_epp_logs.rb
2021-04-26 18:54:26 +05:00

7 lines
325 B
Ruby

class AdduuidIndexToEppLogs < ActiveRecord::Migration[6.0]
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