id(); $table->string('name'); $table->text('email')->unique(); $table->string('position'); $table->unsignedBigInteger('office_id'); $table->timestamps(); $table->foreign('office_id')->references('id')->on('offices')->onDelete('cascade'); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('employees'); } };