id(); $table->string('series'); $table->foreignId('client_id')->constrained(); $table->foreignId('branch_id')->nullable()->constrained(); $table->date('date_created'); $table->date('date_dispatch')->nullable(); $table->date('date_received')->nullable(); $table->string('received_by')->nullable(); $table->boolean('received')->default(false); $table->foreignId('user_id')->nullable()->constrained(); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('transmittal'); } };