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 VALUES
(1, 'zone one', 1), (1, 'Province one', 1, NULL),
(2, 'zone two', 2), (2, 'Province two', 1, NULL),
(3, 'zone three', 3); (3, 'Province three', 1, NULL),
(4, 'Province four', 1, NULL),
INSERT INTO `vn`.`province`(`id`, `name`, `countryFk`, `warehouseFk`, `zoneFk`) (5, 'Province five', 1, NULL);
VALUES
(1, 'Province one', 1, NULL, 1),
(2, 'Province two', 1, NULL, 2),
(3, 'Province three', 1, NULL, 3),
(4, 'Province four', 1, NULL, 2),
(5, 'Province five', 1, NULL, 1);
INSERT INTO `vn`.`town`(`id`, `name`, `provinceFk`) INSERT INTO `vn`.`town`(`id`, `name`, `provinceFk`)
VALUES VALUES
@ -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())),