hasTable('educai_settings')) { $table = $schema->getTable('educai_settings'); // Enable/disable Docling document conversion if (!$table->hasColumn('docling_enabled')) { $table->addColumn('docling_enabled', Types::BOOLEAN, [ // notnull => false for cross-db compatibility 'notnull' => false, 'default' => 0, ]); } // Custom Docling API endpoint (optional, defaults to academiccloud) if (!$table->hasColumn('docling_api_endpoint')) { $table->addColumn('docling_api_endpoint', Types::STRING, [ 'notnull' => false, 'length' => 512, ]); } } return $schema; } }