Open usa4cc opened 3 years ago
Well, we added the tables, we just need to add constraints now. Here's some ideas:
Here's a list of what ids each table relies on. This is useful for designing constraints.
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 ?
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.