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