Add database configuration script for travis ci.