unsignedInteger('card_id')->primary(); // maps to cards.id $table->string('avatar_url')->nullable(); $table->string('tags')->nullable(); // CSV tag list $table->text('notes')->nullable(); $table->timestamps(); $table->foreign('card_id') ->references('id') ->on('cards') ->cascadeOnDelete(); }); } public function down(): void { Schema::dropIfExists('contact_meta'); } };