We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa52d85 commit 64f78aaCopy full SHA for 64f78aa
1 file changed
database/migrations/2025_05_01_151516_create_jobs_table.php
@@ -0,0 +1,32 @@
1
+<?php
2
+
3
+use Illuminate\Database\Migrations\Migration;
4
+use Illuminate\Database\Schema\Blueprint;
5
+use Illuminate\Support\Facades\Schema;
6
7
+return new class extends Migration
8
+{
9
+ /**
10
+ * Run the migrations.
11
+ */
12
+ public function up(): void
13
+ {
14
+ Schema::create('jobs', function (Blueprint $table) {
15
+ $table->bigIncrements('id');
16
+ $table->string('queue')->index();
17
+ $table->longText('payload');
18
+ $table->unsignedTinyInteger('attempts');
19
+ $table->unsignedInteger('reserved_at')->nullable();
20
+ $table->unsignedInteger('available_at');
21
+ $table->unsignedInteger('created_at');
22
+ });
23
+ }
24
25
26
+ * Reverse the migrations.
27
28
+ public function down(): void
29
30
+ Schema::dropIfExists('jobs');
31
32
+};
0 commit comments