Fixed local dev bug where db was not setup