Add back erroneously removed index on account_summaries (#40029)

This commit is contained in:
Claire
2026-08-03 17:17:52 +02:00
committed by GitHub
parent dc6b681f2d
commit 7ecff7f0ad

View File

@@ -10,7 +10,7 @@
#
# It's strongly recommended that you check this file into your version control system.
ActiveRecord::Schema[8.1].define(version: 2026_07_28_145507) do
ActiveRecord::Schema[8.1].define(version: 2026_08_03_140751) do
# These are extensions that must be enabled in order to support this database
enable_extension "pg_catalog.plpgsql"
@@ -1636,6 +1636,7 @@ ActiveRecord::Schema[8.1].define(version: 2026_07_28_145507) do
WHERE ((accounts.suspended_at IS NULL) AND (accounts.requested_deletion_at IS NULL) AND (accounts.silenced_at IS NULL) AND (accounts.moved_to_account_id IS NULL) AND (accounts.discoverable = true) AND (accounts.locked = false))
GROUP BY accounts.id;
SQL
add_index "account_summaries", ["account_id", "language", "sensitive"], name: "idx_on_account_id_language_sensitive_250461e1eb"
add_index "account_summaries", ["account_id"], name: "index_account_summaries_on_account_id", unique: true
create_view "global_follow_recommendations", materialized: true, sql_definition: <<-SQL