id(); $table->foreignId('user_id')->constrained()->cascadeOnDelete(); $table->foreignId('barbershop_id')->constrained('barbershop')->cascadeOnDelete(); $table->string('name', 30); $table->string('contact_number', 15)->nullable(); $table->timestamps(); $table->softDeletes(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('customers'); } };