DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
laravel foreign key
$table->foreignId('user_id') ->constrained() ->onUpdate('cascade') ->onDelete('cascade');
Source by laravel.com #
PREVIOUS
NEXT
Tagged:
#laravel
#foreign
#key
ADD COMMENT
Topic
COMMENT
Name
7+6 =
Submit