When I change filenaming in the uploader in Arc using a UUID, using Arc_ecto too, it renames the file fine and stores on S3, but not what’s stored in the db.
Here’s my file name override:
Override the persisted filenames:
def filename(version, _) do
UUID.uuid1()
end
It renames the file just fine, stores it just fine on s3, but the uuid is not reflected in the db.
Does anyone have any idea, I am use arc_ecto also. Perhaps I need to manually update the file name int he db to reflect the uuid?