A free open source IT asset/license management system
Migration to change notes on suppliers to text from varchar
snipebaa4a8a461b5
diff --git a/database/migrations/2025_11_10_205136_change_suppliers_notes_to_text.php b/database/migrations/2025_11_10_205136_change_suppliers_notes_to_text.phpnew file mode 100644index 0000000000..e155623a67--- /dev/null+++ b/database/migrations/2025_11_10_205136_change_suppliers_notes_to_text.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('suppliers', function (Blueprint $table) {+ $table->text('notes')->change();+ });+ }++ /**+ * Reverse the migrations.+ */+ public function down(): void+ {+ Schema::table('text', function (Blueprint $table) {+ //+ });+ }+};