#[Package('core')]
class Migration1628519513AddUnconfirmedTransactionState extends MigrationStep
{ public function getCreationTimestamp(): int
{ return 1628519513;
} public function update(Connection
$connection): void
{ $machineId =
$this->
getMachineId($connection, 'order_transaction.state'
);
if (!
$machineId) { return;
} $stateId = Uuid::
randomHex();
try { $connection->
executeStatement( 'INSERT INTO state_machine_state (id, technical_name, state_machine_id, created_at)
VALUES (:id, :technical_name, :state_machine_id, :created_at)',
[