fipamo/database/migrations/2019_08_19_000000_create_failed_jobs_table.php
ro 45f857e9b8
The Big Flip
Removed the Slim Framework from the codebase and installed the latest
Laravel version to be the new foundation for the project moving forward.

Code from the old version will now be ported to the new version.
2024-02-29 11:09:17 -06:00

33 lines
768 B
PHP

<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::create('failed_jobs', function (Blueprint $table) {
$table->id();
$table->string('uuid')->unique();
$table->text('connection');
$table->text('queue');
$table->longText('payload');
$table->longText('exception');
$table->timestamp('failed_at')->useCurrent();
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::dropIfExists('failed_jobs');
}
};