Fix database setup on travis configuration