Fixing the database create script