add database config for travis