mirror of
https://github.com/yingziwu/mastodon.git
synced 2026-02-24 03:02:42 +00:00
Simplify DatabaseViewRecord.refresh (#35252)
This commit is contained in:
parent
b69b5ba775
commit
88b0f3a172
1 changed files with 0 additions and 6 deletions
|
|
@ -10,12 +10,6 @@ module DatabaseViewRecord
|
|||
concurrently: true,
|
||||
cascade: false
|
||||
)
|
||||
rescue ActiveRecord::StatementInvalid
|
||||
Scenic.database.refresh_materialized_view(
|
||||
table_name,
|
||||
concurrently: false,
|
||||
cascade: false
|
||||
)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue