Add migration step and db config for travis