Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
$table->unsignedBigInteger('user_id');
$table->foreign('user_id')->references('id')->on('users');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment