Merge pull request 'feat: refs #6685 RestoreViewCredit' (!2028) from 6685-fixRestoreViewCredit into dev
gitea/salix/pipeline/head There was a failure building this commit
Details
gitea/salix/pipeline/head There was a failure building this commit
Details
Reviewed-on: #2028 Reviewed-by: Guillermo Bonet <guillermo@verdnatura.es>
This commit is contained in:
commit
5b137ad825
|
@ -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`
|
|
@ -0,0 +1 @@
|
||||||
|
GRANT SELECT ON TABLE vn2008.credit TO financialBoss;
|
Loading…
Reference in New Issue