getTable('calendarsubscriptions'); $table->addColumn('source_copy', 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_copy', 'source') ->execute(); } }