CREATE OR REPLACE DEFINER=`vn-admin`@`localhost`
	SQL SECURITY DEFINER
	VIEW `hedera`.`myTpvTransaction`
AS SELECT `t`.`id` AS `id`,
	`t`.`merchantFk` AS `merchantFk`,
	`t`.`clientFk` AS `clientFk`,
	`t`.`receiptFk` AS `receiptFk`,
	`t`.`amount` AS `amount`,
	`t`.`response` AS `response`,
	`t`.`status` AS `status`,
	`t`.`created` AS `created`
FROM `hedera`.`tpvTransaction` `t`
WHERE `t`.`clientFk` = `account`.`myUser_getId`()
