8 lines
181 B
Ruby
8 lines
181 B
Ruby
|
# frozen_string_literal: true
|
||
|
|
||
|
class AddTopicTimersIndex < ActiveRecord::Migration[7.0]
|
||
|
def change
|
||
|
add_index :topic_timers, [:topic_id], where: "deleted_at IS NULL"
|
||
|
end
|
||
|
end
|