Retrospring/db/migrate/20211228135426_add_indexes_...

7 lines
165 B
Ruby

class AddIndexesToNotifications < ActiveRecord::Migration[5.2]
def change
add_index :notifications, :recipient_id
add_index :notifications, :new
end
end