Fixed votingrecords table creation