added watermark settings tab on the branding page and added more package details to the billing page, added a new guest notifications page

This commit is contained in:
Codex Agent
2025-12-17 16:39:25 +01:00
parent efe697f155
commit 5f3e7ae8c8
25 changed files with 2062 additions and 202 deletions

View File

@@ -0,0 +1,38 @@
<?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('watermark_settings', function (Blueprint $table) {
if (! Schema::hasColumn('watermark_settings', 'offset_x')) {
$table->integer('offset_x')->default(0)->after('padding');
}
if (! Schema::hasColumn('watermark_settings', 'offset_y')) {
$table->integer('offset_y')->default(0)->after('offset_x');
}
});
}
/**
* Reverse the migrations.
*/
public function down(): void
{
Schema::table('watermark_settings', function (Blueprint $table) {
if (Schema::hasColumn('watermark_settings', 'offset_y')) {
$table->dropColumn('offset_y');
}
if (Schema::hasColumn('watermark_settings', 'offset_x')) {
$table->dropColumn('offset_x');
}
});
}
};