You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
So, I'm trying to understand how you can index on a standard field.
For example, a model is:
truck_id
contents_in_truck
There is a one to many relationship between truck_id and contents_in_truck. How do you index the truck_id? It can't be primary and can't be unique.
Beta Was this translation helpful? Give feedback.
All reactions