style updates

This commit is contained in:
Mark Gregory
2026-07-24 14:59:44 +01:00
parent 24ab771cd3
commit dd23205d0b
482 changed files with 7173 additions and 1435 deletions
@@ -4,12 +4,23 @@ 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('redirects', function (Blueprint $table): void { $table->id();
return new class extends Migration
{
public function up(): void
{
Schema::create('redirects', function (Blueprint $table): void {
$table->id();
$table->string('source');
$table->string('destination');
$table->unsignedInteger('status_code')->default(301);
$table->boolean('enabled')->default(true);
$table->timestamps(); $table->softDeletes(); }); }
public function down(): void { Schema::dropIfExists('redirects'); }
$table->timestamps();
$table->softDeletes();
});
}
public function down(): void
{
Schema::dropIfExists('redirects');
}
};