Switch db interaction to new 'schema' interface