25 lines
764 B
PHP
25 lines
764 B
PHP
<?php
|
|
|
|
use Illuminate\Database\Migrations\Migration;
|
|
use Illuminate\Database\Schema\Blueprint;
|
|
use Illuminate\Support\Facades\Schema;
|
|
|
|
class CreateJobBatchesTable extends Migration
|
|
{
|
|
public function up()
|
|
{
|
|
Schema::create('job_batches', function (Blueprint $table) {
|
|
$table->string('id')->primary();
|
|
$table->string('name');
|
|
$table->integer('total_jobs');
|
|
$table->integer('pending_jobs');
|
|
$table->integer('failed_jobs');
|
|
$table->text('failed_job_ids');
|
|
$table->text('options')->nullable();
|
|
$table->integer('cancelled_at')->nullable();
|
|
$table->integer('created_at');
|
|
$table->integer('finished_at')->nullable();
|
|
});
|
|
}
|
|
}
|