CodeExplorer updateCurrency example
#[Package('core')]
class Migration1603293043FixCurrencyTypo extends MigrationStep
{ public function getCreationTimestamp(): int
{ return 1603293043;
} public function update(Connection
$connection): void
{ $this->
updateCurrency($connection);
} public function updateDestructive(Connection
$connection): void
{ } private function updateCurrency(Connection
$connection): void
{ try { $englishLanguageId =
$connection->
createQueryBuilder() ->
select('lang.id'
)