feat: refs #6685 RestoreViewCredit #2028

Merged
josepd merged 1 commits from 6685-fixRestoreViewCredit into dev 2024-02-13 07:46:20 +00:00
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,9 @@
CREATE OR REPLACE DEFINER=`root`@`localhost`
SQL SECURITY DEFINER
VIEW `vn2008`.`credit`
AS SELECT `c`.`id` AS `id`,
`c`.`clientFk` AS `Id_Cliente`,
`c`.`workerFk` AS `Id_Trabajador`,
`c`.`amount` AS `amount`,
`c`.`created` AS `odbc_date`
FROM `vn`.`clientCredit` `c`

View File

@ -0,0 +1 @@
GRANT SELECT ON TABLE vn2008.credit TO financialBoss;