i have a question about the best practices about this situation: I have a mysql table that contains (besides the other columns) two columns that are both TINYINT(1) but they can't be both on 0, they can be 0 and 1, 1 and 0, 1 and 1 but no 0 and 0. What's the best way to control this? is even a way to control this?
Edit: i think i will choose the ENUM option but how this will perform if i combine mysql with Entity Framework?