Update database.sql

Creating the options table first throws a mysql error because the reference table (polls) for foreign key was not created first.