Code review comment for lp:~mhaulo/mixxx/allow-playlist-and-crate-renaming

Revision history for this message
RAFFI TEA (raffitea) wrote :

> Why is it not allowable to have two playlists with the same name?
I think this questions depends on how you consider the library domain. I guess most users do not want to have playlists with same name unless we have n-level tree structures.

>If we use the name as a primary key, shouldn't it be UNIQUE anyway?
Unfortunately, the name is not a primary key. The playlist table is made of an artificial primary key followed by the name attribute and so on.

« Back to merge proposal