Fixed an issue with the database creation script