This commit is contained in:
f4ilji
2024-12-06 19:58:38 +05:00
parent 05e99d4e20
commit f51033330d
12 changed files with 68 additions and 44 deletions
@@ -0,0 +1,22 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
public function up(): void
{
Schema::table('pages', function (Blueprint $table) {
$table->longText('content')->change();
});
}
public function down(): void
{
Schema::table('pages', function (Blueprint $table) {
$table->text('content')->change();
});
}
};