mirror of
https://github.com/discourse/discourse.git
synced 2024-12-24 03:03:43 +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
|