Fixes for Travis db