SQLite for local dev (#6322)

* update values for a sqlite default world

* migrate on post create project

* touch database

* fix typo
This commit is contained in:
Taylor Otwell
2024-01-20 16:02:54 -06:00
committed by GitHub
parent b1502f3c07
commit e23c0c1bfd
3 changed files with 25 additions and 9 deletions

View File

@@ -21,6 +21,19 @@ return new class extends Migration
$table->unsignedInteger('created_at');
});
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->longText('failed_job_ids');
$table->mediumText('options')->nullable();
$table->integer('cancelled_at')->nullable();
$table->integer('created_at');
$table->integer('finished_at')->nullable();
});
Schema::create('failed_jobs', function (Blueprint $table) {
$table->id();
$table->string('uuid')->unique();
@@ -38,6 +51,7 @@ return new class extends Migration
public function down(): void
{
Schema::dropIfExists('jobs');
Schema::dropIfExists('job_batches');
Schema::dropIfExists('failed_jobs');
}
};