Skip to content

A free open source IT asset/license management system

Added migration

snipe97cba455099a
diff --git a/database/migrations/2025_04_02_113438_add_acceptance_pdf_logo_to_settings.php b/database/migrations/2025_04_02_113438_add_acceptance_pdf_logo_to_settings.php
new file mode 100644
index 0000000000..26ce894e58
--- /dev/null
+++ b/database/migrations/2025_04_02_113438_add_acceptance_pdf_logo_to_settings.php
@@ -0,0 +1,28 @@
+<?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('settings', function (Blueprint $table) {
+ $table->char('acceptance_pdf_logo')->after('label_logo')->nullable()->default(null);
+ });
+ }
+
+ /**
+ * Reverse the migrations.
+ */
+ public function down(): void
+ {
+ Schema::table('settings', function (Blueprint $table) {
+ $table->dropColumn('acceptance_pdf_logo');
+ });
+ }
+};