fix table componentType
gitea/salix/2014-remove_bi_from_db This commit has test failures
Details
gitea/salix/2014-remove_bi_from_db This commit has test failures
Details
This commit is contained in:
parent
439f9009ff
commit
937ddd7880
|
@ -0,0 +1,16 @@
|
||||||
|
ALTER TABLE `vn`.`componentType`
|
||||||
|
CHANGE COLUMN `isBase` `base` TINYINT(4) NOT NULL DEFAULT '0' COMMENT 'Marca aquellas series que se utilizan para calcular el precio base de las ventas, a efectos estadisticos' ;
|
||||||
|
|
||||||
|
|
||||||
|
CREATE
|
||||||
|
OR REPLACE ALGORITHM = UNDEFINED
|
||||||
|
DEFINER = `root`@`%`
|
||||||
|
SQL SECURITY DEFINER
|
||||||
|
VIEW `bi`.`tarifa_componentes_series` AS
|
||||||
|
SELECT
|
||||||
|
`ct`.`id` AS `tarifa_componentes_series_id`,
|
||||||
|
`ct`.`type` AS `Serie`,
|
||||||
|
`ct`.`base` AS `base`,
|
||||||
|
`ct`.`isMargin` AS `margen`
|
||||||
|
FROM
|
||||||
|
`vn`.`componentType` `ct`;
|
Loading…
Reference in New Issue