Migration to change notes on suppliers to text from varchar

This commit is contained in:
snipe
2025-11-10 20:53:21 +00:00
parent 34daffcdf4
commit baa4a8a461

View File

@@ -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) {
//
});
}
};