getTable('file_metadata'); // if ($metadataTable->hasColumn('value')) { // return null; // } // $metadataTable->addColumn('value', Types::TEXT, [ // 'notnull' => false, // 'default' => '', // ]); // return $schema; return null; } /** * @param IOutput $output * @param Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper` * @param array $options * @return void */ public function postSchemaChange(IOutput $output, Closure $schemaClosure, array $options) { /** @var ISchemaWrapper $schema */ // $schema = $schemaClosure(); // $metadataTable = $schema->getTable('file_metadata'); // if (!$metadataTable->hasColumn('metadata')) { // return; // } // $this->connection // ->getQueryBuilder() // ->update('file_metadata') // ->set('value', 'metadata') // ->executeStatement(); } }