add votes foreign key