3 use Illuminate\Database\Migrations\Migration;
4 use Illuminate\Database\Schema\Blueprint;
6 return new class extends Migration
15 Schema::table('pages', function (Blueprint $table) {
16 $table->longText('markdown')->default('');
19 Schema::table('page_revisions', function (Blueprint $table) {
20 $table->longText('markdown')->default('');
25 * Reverse the migrations.
29 public function down()
31 Schema::table('pages', function (Blueprint $table) {
32 $table->dropColumn('markdown');
35 Schema::table('page_revisions', function (Blueprint $table) {
36 $table->dropColumn('markdown');