Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #523
    jacob_smith
    Participant

    I am using Spatie Media Library to associate files to my model. However when my model is deleted, those files are not deleted.

    #524

    It is highly likely that you are using the SoftDeletes trait in your model. Associated media models won’t be deleted if you are using SoftDeletes

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.