alter table dbo.TheVote add constraint fk_TheVote_VoteItems foreign key (VoteItemsId) references dbo.VoteItems([Id]) on update cascade on delete cascade