src/migrations/2017_05_01_000000_create_job_statuses_table.php
public function up()
    {
        Schema::create('job_statuses', function (Blueprint $table) {
            $table->increments('id');
            $table->string('job_id')->index()->nullable();
            $table->string('type')->index();
            $table->string('queue')->index()->nullable();
            $table->integer('attempts')->default(0);
            $table->integer('progress_now')->default(0);
            $table->integer('progress_max')->default(0);
            $table->string('status', 16)->default(\Imtigger\LaravelJobStatus\JobStatus::STATUS_QUEUED)->index();
            $table->longText('input')->nullable();
            $table->longText('output')->nullable();
            $table->timestamps();
            $table->timestamp('started_at')->nullable();
            $table->timestamp('finished_at')->nullable();
        });
    }
public function up()
    {
        Schema::create('job_statuses', function (Blueprint $table) {
            $table->increments('id');
            $table->string('job_id')->index()->nullable();
            $table->string('type')->index();
            $table->string('queue')->index()->nullable();
            $table->integer('attempts')->default(0);
            $table->integer('progress_now')->default(0);
            $table->integer('progress_max')->default(0);
            $table->string('status', 16)->default(\Imtigger\LaravelJobStatus\JobStatus::STATUS_QUEUED)->index();
            $table->longText('input')->nullable();
            $table->longText('output')->nullable();
            $table->timestamps();
            $table->timestamp('started_at')->nullable();
            $table->timestamp('finished_at')->nullable();
        });
    }
public function up ( ) { Schema :: create ( 'job_statuses' , function ( Blueprint $ table ) { $ table -> increments ( 'id' ) ; $ table -> string ( 'job_id' ) -> index ( ) -> nullable ( ) ; $ table -> string ( 'type' ) -> index ( ) ; $ table -> string ( 'queue' ) -> index ( ) -> nullable ( ) ; $ table -> integer ( 'attempts' ) -> default ( 0 ) ; $ table -> integer ( 'progress_now' ) -> default ( 0 ) ; $ table -> integer ( 'progress_max' ) -> default ( 0 ) ; $ table -> string ( 'status' , 16 ) -> default ( \ Imtigger \ LaravelJobStatus \ JobStatus :: STATUS_QUEUED ) -> index ( ) ; $ table -> longText ( 'input' ) -> nullable ( ) ; $ table -> longText ( 'output' ) -> nullable ( ) ; $ table -> timestamps ( ) ; $ table -> timestamp ( 'started_at' ) -> nullable ( ) ; $ table -> timestamp ( 'finished_at' ) -> nullable ( ) ; } ) ; }
Run the migrations.

@return void
Run the migrations .