Fixed database setup issue.