<?php

use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
use Illuminate\Support\Facades\DB;

class IncreaseSizeOfWikiRevisionsTextFields extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        DB::statement('ALTER TABLE wiki_revisions MODIFY content_html MEDIUMTEXT NOT NULL;');
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        DB::statement('ALTER TABLE wiki_revisions MODIFY content_html TEXT NOT NULL;');
    }
}

Make the wiki revisions content_html field larger, because the rendered content could potentially exceed 65535 bytes
Make the wiki revisions content_html field larger, because the rendered content could potentially exceed 65535 bytes
