Different integer types for foreignId method #33470
Unanswered
ahmadmayahi
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The
$table->foreignId()
method is an alias of$table->unsignedBigInteger()
.I'm not sure about the idea behind making it an alias of
unsignedBigInteger
and not having it support the other integer types (medium, small, tiny).Anyway, I suggest adding more methods to support the types mentioned above.
My proposal is:
Any idea, suggestion?
Beta Was this translation helpful? Give feedback.
All reactions