Merge commit 'ee702e36e58d638bcf75b2eae2ca86499693465e' into glitch-soc/merge-upstream
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
# frozen_string_literal: true
|
||||
|
||||
class DropFollowRecommendations < ActiveRecord::Migration[7.0]
|
||||
def up
|
||||
drop_view :follow_recommendations, materialized: true
|
||||
end
|
||||
|
||||
def down
|
||||
create_view :follow_recommendations, version: 2, materialized: { no_data: true }
|
||||
safety_assured { add_index :follow_recommendations, :account_id, unique: true }
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user