Mysql doubts in fk null (Election candidate blank)

1

I am doing a voting system and need to accept blank votes What is the best option to do this? accept passing a null value in the cd_candidate column?

I can not create a blank candidate in the candidate table

reason: they will have a lot of category and each category will have the option white the system picks the candidates from the category chosen by the voter

I could make a table blank votes and feed it in place of tb_votos but that would change everything in the vote count by category.

    
asked by anonymous 21.10.2016 / 15:44

0 answers