Database schema for related projects