fix database creation failure on travis-ci