Fix migration with big increments
This commit is contained in:
@@ -15,7 +15,7 @@ class ShitUser extends Migration
|
||||
{
|
||||
Schema::create('shit_users', function (Blueprint $table) {
|
||||
$table->id();
|
||||
$table->integer('user_id')->unsigned();
|
||||
$table->unsignedBigInteger('user_id');
|
||||
$table->index('user_id');
|
||||
$table->foreign('user_id')->references('id')->on('users')->onDelete('cascade');
|
||||
|
||||
|
Reference in New Issue
Block a user