Fix travis and db