uuid('id')->primary(); $table->uuid('user_id'); $table->string('title'); $table->string('name'); $table->string('mime'); $table->string('permission')->nullable(); $table->bigInteger('size'); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('media'); } };