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'); + } +};