- Posted By: freeproject
- Comments: 0
Posted By freeproject on July 17, 2017
This ER (Entity Relationship) Diagram represents the model of Chat Application Entity. The entity-relationship diagram of Chat Application shows all the visual instrument of database tables and the relations between User, Group Chat, Chat, Smiles Chat etc. It used structure data and to define the relationships between structured data groups of Chat Application functionalities. The main entities of the Chat Application are Chat, User, Chat History, Group Chat, Notification and Smiles Chat.
Chat Application entities and their attributes :
- Chat Entity : Attributes of Chat are chat_id, chat_user_id, chat_type, chat_history, chat_time, chat_description
- User Entity : Attributes of User are user_id, user_name, user_mobile, user_email, user_username, user_password, user_address
- Chat History Entity : Attributes of Chat History are chat_history_id, chat_history_user_id, chat_history_type, chat_history_time, chat_history_description
- Group Chat Entity : Attributes of Group Chat are group_chat_id, group_chat_users_id, group_chat_type, group_chat_history, cgroup_hat_time, group_chat_description
- Notification Entity : Attributes of Notification are notification_id, notification_title, notification_type, notification_description
- Smiles Chat Entity : Attributes of Smiles Chat are smilies_chat_id, smilies_chat_user_id, smilies_chat_type, smilies_chat_history, smilies_chat_time, smilies_chat_description
Description of Chat Application Database :
- The details of Chat is store into the Chat tables respective with all tables
- Each entity (Smiles Chat, Chat History, Notification, User, Chat) contains primary key and unique keys.
- The entity Chat History, Notification has binded with Chat, User entities with foreign key
- There is one-to-one and one-to-many relationships available between Notification, Group Chat, Smiles Chat, Chat
- All the entities Chat, Notification, Chat History, Smiles Chat are normalized and reduce duplicacy of records
- We have implemented indexing on each tables of Chat Application tables for fast query execution.