implement non-relational db scheme