rubenmate / draw-entity-relation

A web application developed as my final project for the Computer Engineering Degree. It allows users to model entity-relationship diagrams and export them to SQL scripts after validation.
https://draw-entity-relation.vercel.app
0 stars 1 forks source link

Feature: Primary (key) and secondary attributes management via contextual menu #20

Closed rubenmate closed 4 months ago

rubenmate commented 4 months ago

Background:

All the entities should have a key attribute, so instead of giving the user the distinction of choosing the first attribute will always be marked as key.

Goals:

Proposed Solution:

The proposed solution involves modifying the current attribute management system to differentiate between primary and secondary attributes. By default, the first attribute added to an entity will be marked as primary. Users will have the ability to add more attributes, which can be converted to key (converting the previous key attribute in a normal attribute).