Adjust rigDbListFields function to support SQLite