I feel I might be at the verge of making a mess of my data model.
I have drafts that a user can publish. This results in a publication. You can see a publication a snapshot of the draft. However, one draft may also be published multiple times, or not at all. So far so good.
However, I now want to make several types of drafts. Each can be published. There is only one type of publication. At time of publishing, the draft is translated into a valid publication structure.
The problem is that each publication may only have one draft. So not one of each kind, but one in total. I attempted to draw this in the picture, using the long vertical double line.
I reckon I have to either accommodate all types of drafts in one drafts table, but that, I think, wouldn’t be ideal because the columns differ a fair bit between the kinds of drafts. I have some other ideas, but I don’t know how to verify those ideas because I don’t know what to search terms to use. Somehow, creating a draft hierarchy, for example.
Any hints into the right direction?























