Refactor #1620 Eliminar referencias al esquema vn2008
gitea/salix/dev This commit looks good Details

This commit is contained in:
Bernat 2019-07-29 15:02:43 +02:00
parent 07af2271c2
commit 46dac984ab
1 changed files with 8 additions and 18 deletions

View File

@ -133,19 +133,13 @@ INSERT INTO `vn`.`payDem`(`id`, `payDem`)
(1, 10), (1, 10),
(2, 20); (2, 20);
INSERT INTO `vn2008`.`zones`(`zone_id`, `name`, `printingOrder`) INSERT INTO `vn`.`province`(`id`, `name`, `countryFk`, `warehouseFk`)
VALUES
(1, 'zone one', 1),
(2, 'zone two', 2),
(3, 'zone three', 3);
INSERT INTO `vn`.`province`(`id`, `name`, `countryFk`, `warehouseFk`, `zoneFk`)
VALUES VALUES
(1, 'Province one', 1, NULL, 1), (1, 'Province one', 1, NULL),
(2, 'Province two', 1, NULL, 2), (2, 'Province two', 1, NULL),
(3, 'Province three', 1, NULL, 3), (3, 'Province three', 1, NULL),
(4, 'Province four', 1, NULL, 2), (4, 'Province four', 1, NULL),
(5, 'Province five', 1, NULL, 1); (5, 'Province five', 1, NULL);
INSERT INTO `vn`.`town`(`id`, `name`, `provinceFk`) INSERT INTO `vn`.`town`(`id`, `name`, `provinceFk`)
VALUES VALUES
@ -1068,7 +1062,7 @@ INSERT INTO `vn`.`entry`(`id`, `supplierFk`, `created`, `travelFk`, `companyFk`,
INSERT INTO `bi`.`claims_ratio`(`id_Cliente`, `Consumo`, `Reclamaciones`, `Ratio`, `recobro`, `inflacion`) INSERT INTO `bi`.`claims_ratio`(`id_Cliente`, `Consumo`, `Reclamaciones`, `Ratio`, `recobro`, `inflacion`)
VALUES VALUES
(101, 500, NULL, 0.00, 0.00, 1.00), (101, 500, NULL, 0.00, 0.00, 1.00),
(102, 1000, 2.00, 0.01, 0.05, 1.00), (102, 1000, 2.00, 0.01, 0.05, 1.00),
(103, 2000, 0.00, 0.00, 0.02, 1.00), (103, 2000, 0.00, 0.00, 0.02, 1.00),
(104, 2500, 150.00, 0.02, 0.10, 1.00); (104, 2500, 150.00, 0.02, 0.10, 1.00);
@ -1094,10 +1088,6 @@ INSERT INTO `vn2008`.`tblContadores`(`id`,`FechaInventario`)
VALUES VALUES
(1,DATE_ADD(CURDATE(),INTERVAL -1 MONTH)); (1,DATE_ADD(CURDATE(),INTERVAL -1 MONTH));
INSERT INTO `vn2008`.`Estados` (`Id_Estado`, `Estado`)
VALUES
('1', 'En Espera');
INSERT INTO `vn2008`.`Informes` (`Id_Informe`, `Informe`) INSERT INTO `vn2008`.`Informes` (`Id_Informe`, `Informe`)
VALUES VALUES
('30', 'Generar factura PDF'); ('30', 'Generar factura PDF');
@ -1519,7 +1509,7 @@ INSERT INTO `vn`.`workCenter` (`id`, `name`, `warehouseFk`)
('1', 'Silla', '1'), ('1', 'Silla', '1'),
('5', 'Madrid', '5'); ('5', 'Madrid', '5');
INSERT INTO `vn2008`.`workcenter_holiday` (`workcenter_id`, `day`, `year`) INSERT INTO `vn`.`workCenterHoliday` (`workCenterFk`, `days`, `year`)
VALUES VALUES
('1', '27.5', YEAR(CURDATE())), ('1', '27.5', YEAR(CURDATE())),
('5', '22', YEAR(CURDATE())), ('5', '22', YEAR(CURDATE())),