tpye db