id(); $table->foreignId('user_id')->constrained()->onDelete('cascade'); $table->string('title'); $table->text('description')->nullable(); $table->string('filename'); $table->string('path'); $table->string('thumbnail')->nullable(); $table->integer('duration')->default(0); $table->bigInteger('size')->default(0); $table->string('mime_type')->nullable(); $table->enum('orientation', ['landscape', 'portrait', 'square', 'ultrawide'])->default('landscape'); $table->integer('width')->nullable(); $table->integer('height')->nullable(); $table->enum('status', ['pending', 'processing', 'ready', 'failed'])->default('pending'); $table->timestamps(); }); } public function down() { Schema::dropIfExists('videos'); } };