This commit is contained in:
parent
227475e4fc
commit
2636e2d221
|
@ -0,0 +1,2 @@
|
||||||
|
ALTER TABLE `bi`.`tarifa_componentes`
|
||||||
|
ADD COLUMN `code` VARCHAR(45) NULL DEFAULT NULL AFTER `is_renewable`;
|
|
@ -0,0 +1,16 @@
|
||||||
|
|
||||||
|
CREATE
|
||||||
|
OR REPLACE ALGORITHM = UNDEFINED
|
||||||
|
DEFINER = `root`@`%`
|
||||||
|
SQL SECURITY DEFINER
|
||||||
|
VIEW `vn`.`componentRate` AS
|
||||||
|
SELECT
|
||||||
|
`t`.`Id_Componente` AS `id`,
|
||||||
|
`t`.`Componente` AS `name`,
|
||||||
|
`t`.`tarifa_componentes_series_id` AS `componentTypeRate`,
|
||||||
|
`t`.`tarifa_class` AS `classRate`,
|
||||||
|
`t`.`tax` AS `tax`,
|
||||||
|
`t`.`is_renewable` AS `isRenewable`,
|
||||||
|
`t`.`code` AS `code`
|
||||||
|
FROM
|
||||||
|
`bi`.`tarifa_componentes` `t`;
|
Loading…
Reference in New Issue