From 3b0c862d474629f0a15651e8ee343ee80eb9f40f Mon Sep 17 00:00:00 2001 From: Miguel N Date: Wed, 29 Apr 2020 21:57:57 +0100 Subject: [PATCH] Include previous fix --- .../2020_04_29_023647_create_staff_profiles_table.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/migrations/2020_04_29_023647_create_staff_profiles_table.php b/database/migrations/2020_04_29_023647_create_staff_profiles_table.php index 07f43e1..38302f6 100644 --- a/database/migrations/2020_04_29_023647_create_staff_profiles_table.php +++ b/database/migrations/2020_04_29_023647_create_staff_profiles_table.php @@ -15,7 +15,7 @@ class CreateStaffProfilesTable extends Migration { Schema::create('staff_profiles', function (Blueprint $table) { $table->id(); - $table->bigIncrements('userID'); + $table->bigInteger('userID')->unsigned(); $table->dateTime('approvalDate'); $table->dateTime('terminationDate')->nullable(); $table->dateTime('resignationDate')->nullable();