mirror of
https://github.com/internetee/registry.git
synced 2025-07-02 17:23:34 +02:00
Merge branch 'story/116962601-faster-logs' into staging
This commit is contained in:
commit
fa888aa7b0
3 changed files with 16 additions and 2 deletions
|
@ -0,0 +1,6 @@
|
|||
class AddTimeIndexingToEppLog < ActiveRecord::Migration
|
||||
def change
|
||||
ApiLog::EppLog.connection.execute( "CREATE INDEX CONCURRENTLY epp_logs_created_at ON epp_logs USING btree (extract(epoch from created_at));")
|
||||
ApiLog::ReppLog.connection.execute("CREATE INDEX CONCURRENTLY repp_logs_created_at ON repp_logs USING btree (extract(epoch from created_at));")
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue