Supporting empty sqlite database