source: database/migrations/2019_08_19_000000_create_failed_jobs_table.php

main
Last change on this file was c454c0f, checked in by bube-ristovska <ristovska725@…>, 12 months ago

First commit

  • Property mode set to 100644
File size: 768 bytes
Line 
1<?php
2
3use Illuminate\Database\Migrations\Migration;
4use Illuminate\Database\Schema\Blueprint;
5use Illuminate\Support\Facades\Schema;
6
7return new class extends Migration
8{
9 /**
10 * Run the migrations.
11 */
12 public function up(): void
13 {
14 Schema::create('failed_jobs', function (Blueprint $table) {
15 $table->id();
16 $table->string('uuid')->unique();
17 $table->text('connection');
18 $table->text('queue');
19 $table->longText('payload');
20 $table->longText('exception');
21 $table->timestamp('failed_at')->useCurrent();
22 });
23 }
24
25 /**
26 * Reverse the migrations.
27 */
28 public function down(): void
29 {
30 Schema::dropIfExists('failed_jobs');
31 }
32};
Note: See TracBrowser for help on using the repository browser.