uuid('id')->primary(); $table->uuid('mobile_id')->nullable(); $table->foreignUuid('peti_id')->constrained('petis'); $table->foreignUuid('name_customer')->constrained('customers'); $table->foreignUuid('source_warehouse')->constrained('m_warehouses'); $table->foreignUuid('destination_warehouse')->constrained('m_warehouses'); $table->date('date'); $table->timestamps(); $table->softDeletes(); $table->string('created_by', 200)->nullable(); $table->string('updated_by', 200)->nullable(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('transfers'); } };