emilylichtenberg / MySlack

0 stars 0 forks source link

Sample State #4

Open KevinHJo opened 2 years ago

KevinHJo commented 2 years ago
emilylichtenberg commented 2 years ago

I'm a little confused when to use an array of IDs then. I thought it was for one to many relationships and the many to many used associations and joins tables.

KevinHJo commented 2 years ago

I talked to the other instructors, and it seems to be fine to have the arrays. I was going off of what I was told during my own fsp, but maybe things have changed. You can use an array of ids when needed

emilylichtenberg commented 2 years ago

If I can get all the needed information through associations and joins I can remove and have less data stored in state.