add db scheme for filtering