Hi Im new to the forums and database design in general, gulp. I'm currently trying to design the database structure for my design portfolio website. I'm hoping this is right. Here's is what I'm wanting to happen:
A = auto increment
N = not null
P = primary key
F = foreign key
Each project must belong in a category, have a name and description, and at least one image. A project may or may not have one or more outside contributors. If contributor(s) exists for a project, each contributor must have an associated "trade" name (designer, photographer, etc). As previously mentioned, a project will have one or more images associated with it. Each image may or may not have a larger version of itself associated with it.
I hope my explanation suffices, and that I'm doing this correctly. I have a feeling that the foreign keys are backwards.
Thanks!