Hey guys!! I am currently building our MVP but have ran into a bit of an issue in my database,
realized it when I took my prototype live.
We are building a loan platform.
A user would get a loan amount and then everytime they make a purchase the users credit decreases, everytime they make a payment it increases etc (like a creditcard, sortof…)
The thing is that even when Im logged in with a user, the credit amount alocated is alocated in general, the “purchases” and “payments” are discounted and added to that amount.
How do I assign amounts to each user, and not in general.
In otherwords, how do I make it so that the data generated by each user only belongs to that users account?
Thanks so much!