id(); $table->string("name")->nullable()->unique(); $table->string("path")->nullable(); $table->boolean("public")->nullable(); $table->string("disk")->nullable(); $table->integer("count")->nullable(); $table->boolean("tmp_support")->nullable(); $table->time("remove_tmp_time")->nullable(); $table->integer("max_file_size")->nullable(); $table->integer("min_file_size")->nullable(); $table->integer("max_width")->nullable(); $table->integer("min_width")->nullable(); $table->integer("max_height")->nullable(); $table->integer("min_height")->nullable(); $table->boolean("alt_required")->nullable(); $table->boolean("description_required")->nullable(); $table->json("exts")->nullable(); $table->string("ext")->nullable(); $table->json('image_processor')->nullable(); $table->json("mimetypes")->nullable(); $table->string("model")->unique()->nullable(); $table->time("expire_date")->nullable(); $table->timestamps(); $table->softDeletes(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('collections'); } };