mirror of
https://github.com/SrIzan10/hc-harbor.git
synced 2026-05-01 10:45:21 +00:00
Add index on category and time for heartbeats
This commit is contained in:
@@ -0,0 +1,5 @@
|
||||
class AddIndexCategoryTimeHeartbeats < ActiveRecord::Migration[8.0]
|
||||
def change
|
||||
add_index :heartbeats, [:category, :time], name: 'index_heartbeats_on_category_and_time'
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user