Fix up DB config for Travis
Bash script to tide me over until this thing is usable