Files
discourse/db/migrate/20150617080349_add_index_on_post_notifications.rb
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
182 B
Ruby
Raw Normal View History

# frozen_string_literal: true
class AddIndexOnPostNotifications < ActiveRecord::Migration[4.2]
2015-06-17 18:05:52 +10:00
def change
add_index :notifications, %i[user_id topic_id post_number]
end
end