ULID Schema columns #44178
ULID Schema columns
#44178
Replies: 3 comments
-
Have you checked the code to see if these exist? If so is there a documentation issue instead? If so, can you create PRs to address them? |
Beta Was this translation helpful? Give feedback.
0 replies
-
As of Laravel 9.50.1, the foreignIdFor() looks like the above. Which is failing my migration with Postgres (not sure with other database right now). It adds 'uuid' column instead 'ulid or char(26)' column. |
Beta Was this translation helpful? Give feedback.
0 replies
-
This should already available in latest Laravel 10. |
Beta Was this translation helpful? Give feedback.
0 replies
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.
-
Since the
HasUlid
trait as landed, it also should include Blueprint methods to create ULID columns:foreignUlid()
nullableUlidMorphs()
ulidMorphs()
ulid()
Also,
foreignIdFor()
should be updated to check for Models that are using ULIDs to create the appropiate column type (char:26
);Beta Was this translation helpful? Give feedback.
All reactions