Media: Store mrl relative to the containing folder
As a result, the Media.Duplicate test is obsolete, since a filename isn't unique in itself. Only the couple (mrl, folder_id) is UNIQUE. However, UNIQUE doesn't apply when the folder_id foreign key is NULL Uniqueness has been manually tested for a real folder/mrl couple
Please register or sign in to comment