id(); $table->foreignId('video_project_id')->constrained()->cascadeOnDelete(); $table->foreignId('workflow_step_id')->nullable()->constrained()->nullOnDelete(); $table->string('type'); $table->string('disk_path'); $table->string('mime_type')->nullable(); $table->unsignedBigInteger('size_bytes')->nullable(); $table->unsignedInteger('version')->default(1); $table->json('metadata')->nullable(); $table->timestamps(); }); } /** * Reverse the migrations. */ public function down(): void { Schema::dropIfExists('assets'); } };