CabinetSetupUploadsTable::up PHP Method

up() public method

Run the migrations.
public up ( ) : void
return void
    public function up()
    {
        // Creates the uploads table
        Schema::create('uploads', function ($table) {
            $table->increments('id');
            $table->string('filename');
            $table->string('path');
            $table->string('extension');
            $table->string('mimetype');
            $table->bigInteger('size')->unsigned();
            $table->integer('user_id')->unsigned()->index();
            $table->softDeletes();
            $table->timestamps();
        });
    }
CabinetSetupUploadsTable