$table->foreign('user_id')->references('id')->on('users')->onDelete('cascade');
$table->foreign('user_id')->references('id')->on('users')->onDelete('cascade');
0
- 2 votes228 views1 answer
- 0 vote208 views1 answer
- 2 votes246 views2 answers
- 0 vote198 views2 answers
- 0 vote209 views1 answer
- 1 vote248 views1 answer
- 0 vote212 views1 answer
- 7 votes199 views3 answers
- 0 vote214 views1 answer
- 37 votes187 views6 answers