mirror of
https://github.com/discourse/discourse.git
synced 2024-12-12 06:43:41 +08:00
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
|