BenTBCampbell / Software-Engineering

Franciscan software engineering class group project.
GNU General Public License v3.0
5 stars 1 forks source link

URGENT: Database modeling #19

Open usa4cc opened 3 years ago

usa4cc commented 3 years ago

We need to properly design the database tables so that the Account class can determine the Definitions, Comments, Followed Accounts, and Upvotes. FollowedAccounts and Upvotes specifically, will need additional implementation.

We also need to add proper constraints for adding/deleting items like words/definitions.

BenTBCampbell commented 3 years ago

Well, we added the tables, we just need to add constraints now. Here's some ideas:

Order of creating entries:

Here's a list of what ids each table relies on. This is useful for designing constraints.

Constraints

Everything

Word

Definition

Comment

Account

ContactInfo

I don't know about SQL to implement this, but that's at least a list of the constraints I can think of. Does that help @usa4cc ?