diff --git a/shit-show/database/migrations/2021_09_11_134641_shit_user.php b/shit-show/database/migrations/2021_09_11_134641_shit_user.php index ee5b45c..261aee6 100644 --- a/shit-show/database/migrations/2021_09_11_134641_shit_user.php +++ b/shit-show/database/migrations/2021_09_11_134641_shit_user.php @@ -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');