fix: add index to speed up query in dol archiving job
This commit is contained in:
parent
7edb588c77
commit
676112dd6f
2 changed files with 9 additions and 1 deletions
|
@ -10,7 +10,7 @@
|
|||
#
|
||||
# It's strongly recommended that you check this file into your version control system.
|
||||
|
||||
ActiveRecord::Schema[7.0].define(version: 2024_04_02_212902) do
|
||||
ActiveRecord::Schema[7.0].define(version: 2024_04_10_193614) do
|
||||
# These are extensions that must be enabled in order to support this database
|
||||
enable_extension "pg_buffercache"
|
||||
enable_extension "pg_stat_statements"
|
||||
|
@ -420,6 +420,7 @@ ActiveRecord::Schema[7.0].define(version: 2024_04_02_212902) do
|
|||
t.datetime "updated_at", precision: nil, null: false
|
||||
t.index ["bill_signature_id"], name: "index_dossier_operation_logs_on_bill_signature_id"
|
||||
t.index ["dossier_id"], name: "index_dossier_operation_logs_on_dossier_id"
|
||||
t.index ["id"], name: "index_dossier_operation_logs_on_id", where: "(data IS NOT NULL)"
|
||||
t.index ["keep_until"], name: "index_dossier_operation_logs_on_keep_until"
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue