From 90febf6addf54485a026d155888ad69fafc33205 Mon Sep 17 00:00:00 2001 From: Daniel Karbach Date: Tue, 15 Mar 2022 17:08:09 +0100 Subject: [PATCH] add jobs table --- .../2022_03_15_160759_create_jobs_table.php | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 database/migrations/2022_03_15_160759_create_jobs_table.php diff --git a/database/migrations/2022_03_15_160759_create_jobs_table.php b/database/migrations/2022_03_15_160759_create_jobs_table.php new file mode 100644 index 0000000..a786a89 --- /dev/null +++ b/database/migrations/2022_03_15_160759_create_jobs_table.php @@ -0,0 +1,36 @@ +bigIncrements('id'); + $table->string('queue')->index(); + $table->longText('payload'); + $table->unsignedTinyInteger('attempts'); + $table->unsignedInteger('reserved_at')->nullable(); + $table->unsignedInteger('available_at'); + $table->unsignedInteger('created_at'); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('jobs'); + } +}; -- 2.39.2