text4u
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

2019_08_19_000000_create_failed_jobs_table.php 768B

1234567891011121314151617181920212223242526272829303132
  1. <?php
  2. use Illuminate\Database\Migrations\Migration;
  3. use Illuminate\Database\Schema\Blueprint;
  4. use Illuminate\Support\Facades\Schema;
  5. return new class extends Migration
  6. {
  7. /**
  8. * Run the migrations.
  9. */
  10. public function up(): void
  11. {
  12. Schema::create('failed_jobs', function (Blueprint $table) {
  13. $table->id();
  14. $table->string('uuid')->unique();
  15. $table->text('connection');
  16. $table->text('queue');
  17. $table->longText('payload');
  18. $table->longText('exception');
  19. $table->timestamp('failed_at')->useCurrent();
  20. });
  21. }
  22. /**
  23. * Reverse the migrations.
  24. */
  25. public function down(): void
  26. {
  27. Schema::dropIfExists('failed_jobs');
  28. }
  29. };