From: Daniel Karbach Date: Tue, 15 Mar 2022 16:08:09 +0000 (+0100) Subject: add jobs table X-Git-Url: https://git.localhorst.tv/?a=commitdiff_plain;h=90febf6addf54485a026d155888ad69fafc33205;p=alttp.git add jobs table --- 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'); + } +};