This commit is contained in:
parent
795e2250f9
commit
826cc837e3
|
@ -3790,3 +3790,6 @@ INSERT INTO vn.workerTeam(id, team, workerFk)
|
|||
|
||||
INSERT INTO vn.workCenter (id, name, payrollCenterFk, counter, warehouseFk, street, geoFk, deliveryManAdjustment)
|
||||
VALUES(100, 'workCenterOne', 1, NULL, 1, 'gotham', NULL, NULL);
|
||||
|
||||
UPDATE vn.buy
|
||||
SET printedStickers=NULL;
|
|
@ -0,0 +1 @@
|
|||
ALTER TABLE vn.buy MODIFY COLUMN printedStickers int(10) unsigned DEFAULT NULL NULL;
|
|
@ -30,6 +30,7 @@ describe('Travel cloneWithEntries()', () => {
|
|||
await models.Entry.destroyAll({
|
||||
travelFk: newTravelId
|
||||
}, options);
|
||||
|
||||
await models.Travel.destroyById(newTravelId, options);
|
||||
await tx.rollback();
|
||||
const travelRemoved = await models.Travel.findById(newTravelId, options);
|
||||
|
|
Loading…
Reference in New Issue