feat(proxy): add optional permanent redirects for apps and services (#12233)

This commit is contained in:
Andras Bacsai
2026-10-19 21:46:12 +02:00
committed by GitHub
parent fb6d3e7c9b
commit 62be8674bc
20 changed files with 323 additions and 15 deletions
@@ -0,0 +1,34 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
Schema::table('application_settings', function (Blueprint $table) {
$table->boolean('is_permanent_redirect_enabled')->default(false);
});
Schema::table('service_applications', function (Blueprint $table) {
$table->boolean('is_permanent_redirect_enabled')->default(false);
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('application_settings', function (Blueprint $table) {
$table->dropColumn('is_permanent_redirect_enabled');
});
Schema::table('service_applications', function (Blueprint $table) {
$table->dropColumn('is_permanent_redirect_enabled');
});
}
};