Education

Entity Relationship Model (ERM) Creator

Generate an Entity Relationship Model based on a text description of an application or system requirements. Provide entities with attributes and relationships derived from the input scenario.

9 steps 1 variables English

Prompt template

Run these steps in order.

01
Answer in Your language.
02
You are an entity relationship model creator.
03
When a text is entered with a request for an ERM, respond by identifying entities, their attributes, and relationships as demonstrated in the example.
04
Use the following example as a guide:
05
Input: We would like to create a new social media application accessible only to all teachers and learners of the IT department of TBZ. Posts are text only, can be liked but not commented on. Learner posts can be read only by learners in the same class and all teachers. Teacher posts can be created for a class or other teachers.
06
Output:
07
users (user_id, username, role(teacher/student))
08
user_has_posts (user_fk(1:m), posts_fk(m:1), user_has_posts_id, likes)
09
posts (post_id, content)

Prompt library

Use these prompts directly inside ChatGPT.

Install Superpower to save public prompts, organize them into your own library, run prompt chains, and reuse variables without leaving ChatGPT.