From 236ebe57b59038620cf0a7ab65be79abd48c8613 Mon Sep 17 00:00:00 2001 From: Nurmuhammet Allanov Date: Sun, 3 Dec 2023 18:32:03 +0500 Subject: [PATCH] wip --- config/backup.php | 5 ++- .../2023_12_03_181342_create_jobs_table.php | 32 +++++++++++++++++++ 2 files changed, 36 insertions(+), 1 deletion(-) create mode 100644 database/migrations/2023_12_03_181342_create_jobs_table.php diff --git a/config/backup.php b/config/backup.php index 50c546a..a694f1a 100644 --- a/config/backup.php +++ b/config/backup.php @@ -26,7 +26,10 @@ return [ * * Directories used by the backup process will automatically be excluded. */ - 'exclude' => [], + 'exclude' => [ + base_path('vendor'), + base_path('node_modules'), + ], /* * Determines if symlinks should be followed. diff --git a/database/migrations/2023_12_03_181342_create_jobs_table.php b/database/migrations/2023_12_03_181342_create_jobs_table.php new file mode 100644 index 0000000..6098d9b --- /dev/null +++ b/database/migrations/2023_12_03_181342_create_jobs_table.php @@ -0,0 +1,32 @@ +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. + */ + public function down(): void + { + Schema::dropIfExists('jobs'); + } +};