what database schema can be used for store social graph links