Merge remote-tracking branch 'parent/main' into kb_migration
This commit is contained in:
commit
d1a76ea317
20 changed files with 447 additions and 280 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue