I'm making a fantasy name generator, and I'm having trouble planning my database table. So far my columns are ID(primary key), name, type(first, last, or either), Gender(unisex, male, or female), and then I have a column for each race(Dragonborn, Dwarf, Elf, etc.).
I'm making a PHP form for my friends and me to input names, where the races will be checkboxes, and then it will show up on the public table. I'm having trouble figuring out a way to show all the column names that are not null for each name/row in the Race cell of the public table. Currently if you select the races the database puts 'Yes' in every corresponding race column and leaves the other races null.
Should I just go ahead and make one Race column that can have multiple strings in my database? For example, if a name could be human, halfling, and gnome, the race column entry would be "human, halfling, gnome". Would that be better than having a column for each race? I don't know if it's good design and I've had difficulty searching for similar problems.