Properly delete files when a package is removed
Both CarrierWave and ProjectStatistics relies on record deletion to cleanup storage and update statistics. We delete Packages instead of PackageFiles and the record deletion is performed by the DB. This commit introduce a dependent: :destroy on Package-PackageFiles relation.
Showing
Please register or sign in to comment