mirror of
https://github.com/internetee/registry.git
synced 2025-07-21 10:16:01 +02:00
add uuid index to epp/repp logs
This commit is contained in:
parent
6eef658a99
commit
f3f556869c
1 changed files with 7 additions and 0 deletions
7
db/migrate/20161004101419_adduuid_index_to_epp_logs.rb
Normal file
7
db/migrate/20161004101419_adduuid_index_to_epp_logs.rb
Normal 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
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue