hasTable('news_items')) { $table = $schema->getTable('news_items'); $table->addColumn('shared_by', 'string', [ 'notnull' => false, 'length' => 64 ]); } return $schema; } /** * @param IOutput $output * @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper` * @param array $options */ public function postSchemaChange(IOutput $output, Closure $schemaClosure, array $options): void { } }