-
Notifications
You must be signed in to change notification settings - Fork 1
About Messages Table
Mohammed Gomaa edited this page Oct 3, 2024
·
2 revisions
- Looking at messages table in ERD, one can't help but think... how many Nullable FKs it is going to eventually have? How would that effect contributors to the project? Will it make our lives harder?
- See.
- Caveat more than one nullable Foreign key that will need to be validated by application-level.
- Advantage adding more features (maybe: forums?, threads?, ...) in the future means that we will add a new table + another nullable FK in
messages
table.
- Do note that this doesn't have to represent valid ERD. It is for demonstration purposes.
- Advantage messages have only one not null FK.
- Caveat with each new feature you might be adding two new tables.
- Do note, that the new relation table may not mean actual M-N relation.
- ...
- Back to home.
- Home
- Getting Started
-
Technical Decisions
- Usage of Drizzle-Nest
-
ERD Decisions
-
About Messages Table
- child of child of child?
-
About Messages Table
- Database Unit of Work
- test