upgrade to Laravel 11 and schema squash (#245)

* upgrade to Laravel 11 and schema squash

* code style and npm audit fix

* fix #209
This commit is contained in:
Saeed Vaziry
2024-06-25 00:33:02 +03:30
committed by GitHub
parent b5c8d99ef8
commit e031bafba5
74 changed files with 898 additions and 2098 deletions

View File

@ -1,31 +0,0 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
public function up(): void
{
Schema::create('queues', function (Blueprint $table) {
$table->id();
$table->unsignedInteger('server_id')->nullable();
$table->unsignedBigInteger('site_id');
$table->text('command');
$table->string('user');
$table->boolean('auto_start')->default(1);
$table->boolean('auto_restart')->default(1);
$table->integer('numprocs')->default(8);
$table->boolean('redirect_stderr')->default(1);
$table->string('stdout_logfile')->nullable();
$table->string('status');
$table->timestamps();
});
}
public function down(): void
{
Schema::dropIfExists('queues');
}
};