20230818141056_create_global_follow_recommendations.rb 283 B

12345678
  1. # frozen_string_literal: true
  2. class CreateGlobalFollowRecommendations < ActiveRecord::Migration[7.0]
  3. def change
  4. create_view :global_follow_recommendations, materialized: true
  5. safety_assured { add_index :global_follow_recommendations, :account_id, unique: true }
  6. end
  7. end