Closed AhmedGarcia closed 1 day ago
Define a Discussion schema with fields: topic, content, username, and createdAt.
Include references to User for the discussion creator.
Export the model for use in GraphQL resolvers.
completed
Define a Discussion schema with fields: topic, content, username, and createdAt.
Include references to User for the discussion creator.
Export the model for use in GraphQL resolvers.