Skip to content

[7.x] Added foreignUuid column definition#33129

Merged
taylorotwell merged 4 commits into
laravel:7.xfrom
pauladams8:7.x
Jun 7, 2020
Merged

[7.x] Added foreignUuid column definition#33129
taylorotwell merged 4 commits into
laravel:7.xfrom
pauladams8:7.x

Conversation

@pauladams8
Copy link
Copy Markdown
Contributor

I've added a foreignUuid() column definition for UUID foreign keys. This method creates a UUID colum on the database schema and adds a foreign key constraint.

It can be used in the same way as foreignId().

Comment thread src/Illuminate/Database/Schema/Blueprint.php Outdated
@pauladams8 pauladams8 requested a review from GrahamCampbell June 6, 2020 19:21
@taylorotwell taylorotwell merged commit 7958277 into laravel:7.x Jun 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants