Include previous fix

This commit is contained in:
Miguel Nogueira 2020-04-29 21:57:57 +01:00
parent beee71e4c3
commit 3b0c862d47
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ class CreateStaffProfilesTable extends Migration
{ {
Schema::create('staff_profiles', function (Blueprint $table) { Schema::create('staff_profiles', function (Blueprint $table) {
$table->id(); $table->id();
$table->bigIncrements('userID'); $table->bigInteger('userID')->unsigned();
$table->dateTime('approvalDate'); $table->dateTime('approvalDate');
$table->dateTime('terminationDate')->nullable(); $table->dateTime('terminationDate')->nullable();
$table->dateTime('resignationDate')->nullable(); $table->dateTime('resignationDate')->nullable();