Merge pull request 'refs #6685' (!2043) from 6685--HotFix-credit into master
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
Reviewed-on: #2043 Reviewed-by: Javi Gallego <jgallego@verdnatura.es>
This commit is contained in:
commit
9182549b47
|
@ -0,0 +1,11 @@
|
|||
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,6 @@
|
|||
CREATE OR REPLACE DEFINER=`root`@`localhost`
|
||||
SQL SECURITY DEFINER
|
||||
VIEW `vn2008`.`credit`AS
|
||||
SELECT 1;
|
||||
|
||||
GRANT SELECT ON TABLE vn2008.credit TO financialBoss;
|
Loading…
Reference in New Issue