FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add Laravel's `withoutForeignKeyConstraints` method to Schema Builder by binaryfire · Pull Request #7684 · hyperf/hyperf · GitHub

/ hyperf Public

Add Laravel's withoutForeignKeyConstraints method to Schema Builder - #7684

Merged
limingxinleo merged 3 commits into
hyperf:masterfrom
binaryfire:feature/without-foreign-key-constraints
Jan 25, 2026
Merged

Add Laravel's withoutForeignKeyConstraints method to Schema Builder#7684
limingxinleo merged 3 commits into
hyperf:masterfrom
binaryfire:feature/without-foreign-key-constraints

Conversation

Copy link
Copy Markdown
Contributor

Adds Laravel's withoutForeignKeyConstraints convenience method to temporarily disable foreign key constraints while executing a callback.

See: https://github.com/laravel/framework/blob/28ac3ee13988e749983c279c13e2261c230557d6/src/Illuminate/Database/Schema/Builder.php#L631

Adds a convenience method to temporarily disable foreign key constraints
while executing a callback, mirroring the Laravel API.
limingxinleo previously approved these changes Jan 25, 2026
limingxinleo merged commit c59d57f into hyperf:master Jan 25, 2026
77 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

2 participants


Back | FazBrowse Home | New Git URL