update structure and fixtures
This commit is contained in:
parent
bde61a8509
commit
f7930ad664
|
@ -1,5 +1,6 @@
|
||||||
|
USE `vn`;
|
||||||
CREATE
|
CREATE
|
||||||
ALGORITHM = UNDEFINED
|
OR REPLACE ALGORITHM = UNDEFINED
|
||||||
DEFINER = `root`@`%`
|
DEFINER = `root`@`%`
|
||||||
SQL SECURITY DEFINER
|
SQL SECURITY DEFINER
|
||||||
VIEW `buy` AS
|
VIEW `buy` AS
|
||||||
|
@ -28,4 +29,4 @@ VIEW `buy` AS
|
||||||
`c`.`buy_edi_id` AS `ektFk`,
|
`c`.`buy_edi_id` AS `ektFk`,
|
||||||
`c`.`Novincular` AS `isIgnored`
|
`c`.`Novincular` AS `isIgnored`
|
||||||
FROM
|
FROM
|
||||||
`vn2008`.`Compres` `c`
|
`vn2008`.`Compres` `c`;
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
|
USE `edi`;
|
||||||
CREATE
|
CREATE
|
||||||
ALGORITHM = UNDEFINED
|
OR REPLACE ALGORITHM = UNDEFINED
|
||||||
DEFINER = `root`@`%`
|
DEFINER = `root`@`%`
|
||||||
SQL SECURITY DEFINER
|
SQL SECURITY DEFINER
|
||||||
VIEW `edi`.`ekt` AS
|
VIEW `edi`.`ekt` AS
|
||||||
|
@ -41,4 +42,4 @@ VIEW `edi`.`ekt` AS
|
||||||
`vn2008`.`buy_edi`.`trolley_id` AS `trolley_id`,
|
`vn2008`.`buy_edi`.`trolley_id` AS `trolley_id`,
|
||||||
`vn2008`.`buy_edi`.`scanned` AS `scanned`
|
`vn2008`.`buy_edi`.`scanned` AS `scanned`
|
||||||
FROM
|
FROM
|
||||||
`vn2008`.`buy_edi`
|
`vn2008`.`buy_edi`;
|
||||||
|
|
|
@ -631,12 +631,12 @@ INSERT INTO `vn`.`ticketWeekly`(`ticketFk`, `weekDay`)
|
||||||
( 4, 4),
|
( 4, 4),
|
||||||
( 5, 6);
|
( 5, 6);
|
||||||
|
|
||||||
INSERT INTO `vn`.`travel`(`id`, `landed`, `warehouseInFk`, `warehouseOutFk`, `agencyFk`, `m3`, `kg`)
|
INSERT INTO `vn`.`travel`(`id`,`shipped`, `landed`, `warehouseInFk`, `warehouseOutFk`, `agencyFk`, `m3`, `kg`)
|
||||||
VALUES
|
VALUES
|
||||||
( 1, CURDATE(), 1, 2, 1, 100.00, 1000),
|
( 1, CURDATE(), CURDATE(), 1, 2, 1, 100.00, 1000),
|
||||||
( 2, CURDATE(), 1, 2, 1, 150, 2000),
|
( 2, CURDATE(), CURDATE(), 1, 2, 1, 150, 2000),
|
||||||
( 3, CURDATE(), 1, 2, 1, 0.00, 0.00),
|
( 3, CURDATE(), CURDATE(), 1, 2, 1, 0.00, 0.00),
|
||||||
( 4, CURDATE(), 1, 2, 1, 50.00, 500);
|
( 4, CURDATE(), CURDATE(), 1, 2, 1, 50.00, 500);
|
||||||
|
|
||||||
INSERT INTO `vn`.`entry`(`id`, `supplierFk`, `created`, `travelFk`, `companyFk`)
|
INSERT INTO `vn`.`entry`(`id`, `supplierFk`, `created`, `travelFk`, `companyFk`)
|
||||||
VALUES
|
VALUES
|
||||||
|
|
Loading…
Reference in New Issue