Simplify DatabaseViewRecord.refresh (#35252)

This commit is contained in:
Claire 2025-07-11 10:36:05 +02:00 committed by GitHub
parent b69b5ba775
commit 88b0f3a172
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10,12 +10,6 @@ module DatabaseViewRecord
concurrently: true, concurrently: true,
cascade: false cascade: false
) )
rescue ActiveRecord::StatementInvalid
Scenic.database.refresh_materialized_view(
table_name,
concurrently: false,
cascade: false
)
end end
end end