From 046f7d66d43cc96f3bdd301c3df4376faab6a858 Mon Sep 17 00:00:00 2001 From: Arnaud Levy <contact@arnaudlevy.com> Date: Fri, 1 Dec 2023 16:23:45 +0100 Subject: [PATCH] fix da fix --- lib/tasks/app.rake | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/tasks/app.rake b/lib/tasks/app.rake index e7c145cca..d56c06332 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 -- GitLab