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
I've created a sub-system of sorts for a project which fetches and caches user information from the main system's database.
The TL;DR is that the model's $incrementing property is set to false. And because of that the migration related to that model created a UUID column instead of BIGINT.
My question is: Shouldn't the foreignIdFor() method inside the Blueprint object should only check if the keyType is int or not?
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
Uh oh!
There was an error while loading. Please reload this page.
-
I've created a sub-system of sorts for a project which fetches and caches user information from the main system's database.
The TL;DR is that the model's
$incrementing
property is set to false. And because of that the migration related to that model created aUUID
column instead ofBIGINT
.My question is: Shouldn't the
foreignIdFor()
method inside theBlueprint
object should only check if thekeyType
isint
or not?Beta Was this translation helpful? Give feedback.
All reactions