definitely separate.. you could consider a polymorphic type where you have an extra field but KISS.. just have a separate tables one for watchlist, one for transactions.
Jun 20, 2018
3
Level 3
Multiple pivot table or one pivot table with multiple columns?
What is better when designing a many-to-many relation? For instance, I have a table users has relationship with projects table and the column that has many to many are like, add_to_watchlist, and transaction. I wonder if I should store this three in one pivot table or separate them all?
Level 23
1 like
Please or to participate in this conversation.