- added db patch (support more db versions, including 6.0)