id(); $t->foreignId('user_id')->constrained()->cascadeOnDelete(); $t->string('name', 80); $t->string('color', 7)->default('#6366f1'); // hex color $t->string('icon', 40)->nullable(); // emoji o nombre $t->timestamps(); $t->unique(['user_id', 'name']); }); } public function down(): void { Schema::dropIfExists('projects'); } };