Hi there,

I have a file uploader feature on my site, and also a feature which allows me to replaace the file with an updated one. I’m not sure bubble is deleting the previous file when the new file is uploaded as my storage is running at a higher capacity than I would expect. Is there a way to make it so bubble automatically deletes the previoius file when the new one is uploaded? Thx.

You have to add a step to delete the previous file before setting the new file in its place.

3 Likes

It’s sort of working. I would be stoked if it would delete the previous file once the new file is uploaded but I can’t find a workaround for that, but I have it setup where i can delete the previous file manually before uploading the new one which is working now. Thx

That is easy, setup a backend database trigger to handle it instead :blush: