Currently, storage disk names must be unique. This does not really make sense, as they should rather be unique per user. So change the constraint accordingly (i.e. disks of the same user must have unique names but different users can use the same names).
In addition, add validation logic for this. Currently, not even the unique constraint is handled there which lead to a server error in production.
Currently, storage disk names must be unique. This does not really make sense, as they should rather be unique per user. So change the constraint accordingly (i.e. disks of the same user must have unique names but different users can use the same names).
In addition, add validation logic for this. Currently, not even the unique constraint is handled there which lead to a server error in production.