feat: Enhance service management with VMware integration and update note field to LONGTEXT
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Support\Facades\DB;
|
||||
|
||||
// ponytail: raw SQL instead of Schema::table()->change() — this repo doesn't have doctrine/dbal installed
|
||||
return new class extends Migration
|
||||
{
|
||||
public function up(): void
|
||||
{
|
||||
DB::statement('ALTER TABLE services MODIFY note LONGTEXT NULL');
|
||||
}
|
||||
|
||||
public function down(): void
|
||||
{
|
||||
DB::statement('ALTER TABLE services MODIFY note TEXT NULL');
|
||||
}
|
||||
};
|
||||
Reference in New Issue
Block a user