bigIncrements('job_id'); $table->unsignedBigInteger('uid')->nullable(true); $table->string('status')->default('pen'); $table->string('exchange', 255)->nullable(true); $table->string('route_key', 255)->nullable(true); $table->string('job_handler', 255)->nullable(true); $table->longText('input')->nullable(true); $table->longText('output')->nullable(true); $table->smallInteger('attempt_count', false); $table->timestamps(); $table->softDeletes(); $table->engine = 'InnoDB'; $table->charset = 'utf8mb4'; $table->collation = 'utf8mb4_unicode_ci'; $table->index('status'); $table->index('uid'); }); } } /** * Reverse the migrations. * * @return void */ public function down() { // } }