diff --git a/lib/tasks/app.rake b/lib/tasks/app.rake index e7c145ccaf3123dd8c1eded3c3212f7437701b48..d56c06332d24d7ab56ef26204ed4a36f379043c2 100644 --- a/lib/tasks/app.rake +++ b/lib/tasks/app.rake @@ -11,6 +11,7 @@ namespace :app do Communication::Website::Menu::Item.where(about_type: "Communication::Website::Category").update_all(about_type: "Communication::Website::Post::Category") Communication::Block.where(about_type: "Communication::Website::Category").update_all(about_type: "Communication::Website::Post::Category") Communication::Block::Heading.where(about_type: "Communication::Website::Category").update_all(about_type: "Communication::Website::Post::Category") + ActiveStorage::Attachment.where(record_type: "Communication::Website::Category").update_all(record_type: "Communication::Website::Post::Category") end namespace :websites do