getTable('calendarsubscriptions'); $table->addColumn('source', Types::TEXT, [ 'notnull' => false, 'length' => null, ]); 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) { $qb = $this->connection->getQueryBuilder(); $qb->update('calendarsubscriptions') ->set('source', 'source_copy') ->execute(); } }