Update database.sql

Creating the options table first throws a mysql error because the reference table (polls) for foreign key was not created first.

I just changed the order of table creation, putting polls table SQL on top.