id(); $table->string('name'); $table->string('email')->unique(); $table->timestamp('email_verified_at')->nullable(); $table->string('password'); $table->rememberToken(); $table->timestamps(); }); Schema::create('users', function (Blueprint $table) { $table->id(); $table->foreignId('planner_id')->constrained()->cascadeOnDelete(); $table->string('name'); $table->timestamps(); }); } public function down(): void { Schema::dropIfExists('users'); Schema::dropIfExists('planners'); } };