database/migrations/2018_10_23_000001_create_client_jobs_table.php
public function up()
    {
        Schema::create('json_api_client_jobs', function (Blueprint $table) {
            $table->uuid('uuid')->primary();
            $table->timestamps();
            $table->string('api');
            $table->string('resource_type');
            $table->string('resource_id')->nullable();
            $table->timestamp('completed_at')->nullable();
            $table->integer('attempts')->default(0);
            $table->integer('timeout')->nullable();
            $table->timestamp('timeout_at')->nullable();
            $table->integer('tries')->nullable();
            $table->boolean('failed')->default(false);
        });
    }
public function up()
    {
        Schema::create('json_api_client_jobs', function (Blueprint $table) {
            $table->uuid('uuid')->primary();
            $table->timestamps();
            $table->string('api');
            $table->string('resource_type');
            $table->string('resource_id')->nullable();
            $table->timestamp('completed_at')->nullable();
            $table->integer('attempts')->default(0);
            $table->integer('timeout')->nullable();
            $table->timestamp('timeout_at')->nullable();
            $table->integer('tries')->nullable();
            $table->boolean('failed')->default(false);
        });
    }
public function up ( ) { Schema :: create ( 'json_api_client_jobs' , function ( Blueprint $ table ) { $ table -> uuid ( 'uuid' ) -> primary ( ) ; $ table -> timestamps ( ) ; $ table -> string ( 'api' ) ; $ table -> string ( 'resource_type' ) ; $ table -> string ( 'resource_id' ) -> nullable ( ) ; $ table -> timestamp ( 'completed_at' ) -> nullable ( ) ; $ table -> integer ( 'attempts' ) -> default ( 0 ) ; $ table -> integer ( 'timeout' ) -> nullable ( ) ; $ table -> timestamp ( 'timeout_at' ) -> nullable ( ) ; $ table -> integer ( 'tries' ) -> nullable ( ) ; $ table -> boolean ( 'failed' ) -> default ( false ) ; } ) ; }
Run the migrations.

@return void
Run the migrations .