update structure db
This commit is contained in:
parent
a016d4de31
commit
ac1d9ddfcc
|
@ -0,0 +1,14 @@
|
|||
USE `vn`;
|
||||
CREATE
|
||||
OR REPLACE ALGORITHM = UNDEFINED
|
||||
DEFINER = `root`@`%`
|
||||
SQL SECURITY DEFINER
|
||||
VIEW `vn`.`defaulter` AS
|
||||
SELECT
|
||||
`d`.`client` AS `clientFk`,
|
||||
`d`.`date` AS `created`,
|
||||
`d`.`amount` AS `amount`,
|
||||
`d`.`defaulterSince` AS `defaulterSinced`,
|
||||
`d`.`hasChanged` AS `hasChanged`
|
||||
FROM
|
||||
`bi`.`defaulters` `d`;
|
Loading…
Reference in New Issue