id(); $table->string("belongs_type")->nullable(); $table->integer("belongs_id")->nullable(); $table->string("original_name")->nullable(); $table->string("folder")->nullable(); $table->string("name")->nullable(); $table->string("extension")->nullable(); $table->integer("size")->nullable(); $table->string("creator_type")->nullable(); $table->integer("creator_id")->nullable(); $table->timestamps(); $table->softDeletes(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('uploads'); } }