Skip to content
Snippets Groups Projects
Commit ede30743 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

clean db

parent 579ba6de
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment