2023-08-19 02:20:55 +10:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
class CreateGlobalFollowRecommendations < ActiveRecord::Migration[7.0]
|
|
|
|
def change
|
2024-01-31 05:21:30 +11:00
|
|
|
create_view :global_follow_recommendations, materialized: true
|
2023-08-19 02:20:55 +10:00
|
|
|
safety_assured { add_index :global_follow_recommendations, :account_id, unique: true }
|
|
|
|
end
|
|
|
|
end
|