id(); $table->string('placa')->unique(); $table->string('modelo'); $table->string('marca'); $table->string('nrpv')->unique()->nullable(); // NĂºmero REPUVE $table->foreignId('owner_id')->nullable()->constrained('owners')->nullOnDelete(); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('vehicle'); } };