refactor
db permissions on travis-ci