Hello,I am creating a survey system and I have the following:-- Pollscreate table dbo.Polls( PollID uniqueidentifier not null constraint PK_Poll primary key clustered, CreatedAt datetime null, IsActive bit null, Question nvarchar(200) null, UpdatedAt datetime null)-- Optionscreate table dbo.Options( OptionID uniqueidentifier not null constraint PK_Poll primary key clustered, PollID uniqueidentifier not null, CreatedAt datetime null, IsActive bit null, Answer nvarchar(200) null, UpdatedAt datetime null, constraint FK_Options_Pools foreign key(PollID) references dbo.Polls(PollID) on delete cascade, )
I think in this moment everything is fine. Is it?But how should I track the votes?Should I add a column Votes to Options table or maybe create a new Votes table?What is the correct approach?Thanks,Miguel