mirror of
https://github.com/System-End/hackatime.git
synced 2026-04-20 00:35:22 +00:00
Add index on category and time for heartbeats
This commit is contained in:
parent
455b57c630
commit
f43f8a4a38
1 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||
Loading…
Add table
Reference in a new issue