diff --git a/lib/tasks/app.rake b/lib/tasks/app.rake index 9971dabae940940f0908f4615df4771e8a943cfc..7f6780f46d5f28b2150b1d9c067b4da7c57e7e7c 100644 --- a/lib/tasks/app.rake +++ b/lib/tasks/app.rake @@ -12,6 +12,9 @@ namespace :app do heading.set_slug heading.update_column :slug, heading.slug end + # Les blobs ne sont plus connectés + # https://github.com/osunyorg/admin/pull/1979 + Communication::Website::Connection.where(indirect_object_type: "ActiveStorage::Blob").delete_all end namespace :websites do