From 7848634bff0e605674d52927a44431474d071a58 Mon Sep 17 00:00:00 2001 From: guillermo Date: Mon, 28 Aug 2023 11:51:25 +0200 Subject: [PATCH 1/3] refs #5300 Deleted postgresql dependences --- db/export-data.sh | 7 ------- db/export-structure.sh | 1 - 2 files changed, 8 deletions(-) diff --git a/db/export-data.sh b/db/export-data.sh index 59edf6ebcb..7d346b235e 100755 --- a/db/export-data.sh +++ b/db/export-data.sh @@ -97,13 +97,6 @@ TABLES=( ) dump_tables ${TABLES[@]} -TABLES=( - postgresql - labour_agreement - media_type -) -dump_tables ${TABLES[@]} - TABLES=( sage TiposIva diff --git a/db/export-structure.sh b/db/export-structure.sh index 0fb413a974..4ecbfa7e8c 100755 --- a/db/export-structure.sh +++ b/db/export-structure.sh @@ -7,7 +7,6 @@ SCHEMAS=( edi hedera pbx - postgresql sage salix stock From 4d802182f56528710d6e5044ad7331b846d3dbbd Mon Sep 17 00:00:00 2001 From: guillermo Date: Mon, 28 Aug 2023 11:59:45 +0200 Subject: [PATCH 2/3] refs #5300 calendar_employee depend. (refs #5378) --- db/tests/vn/workerTimeControlCheck.spec.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/db/tests/vn/workerTimeControlCheck.spec.js b/db/tests/vn/workerTimeControlCheck.spec.js index 9140628e62..65f5db1296 100644 --- a/db/tests/vn/workerTimeControlCheck.spec.js +++ b/db/tests/vn/workerTimeControlCheck.spec.js @@ -239,12 +239,6 @@ xdescribe('worker workerTimeControl_check()', () => { stmts.push('START TRANSACTION'); - stmt = new ParameterizedSQL(`INSERT INTO postgresql.calendar_employee(businessFk,calendar_state_id,date) - VALUES - (?,1,CURDATE())`, [ - workerId - ]); - stmts.push(stmt); stmt = new ParameterizedSQL(`INSERT INTO vn.workerTimeControl(userFk,timed,manual,direction) VALUES (?,TIMESTAMPADD(HOUR,-24,NOW()),0,"in"), From f38ff9ef9cffe2c6b352aab5b086a589a6d2fb90 Mon Sep 17 00:00:00 2001 From: guillermo Date: Mon, 28 Aug 2023 12:00:35 +0200 Subject: [PATCH 3/3] refs #5300 calendar_employee depend. (refs #5378) --- db/tests/vn/workerTimeControlCheck.spec.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/db/tests/vn/workerTimeControlCheck.spec.js b/db/tests/vn/workerTimeControlCheck.spec.js index 65f5db1296..0ca1429d4a 100644 --- a/db/tests/vn/workerTimeControlCheck.spec.js +++ b/db/tests/vn/workerTimeControlCheck.spec.js @@ -54,7 +54,6 @@ xdescribe('worker workerTimeControl_check()', () => { }); it('should throw an error if the worker with a special category has not finished the 9h break', async() => { - // dayBreak to 9h in postgresql.professional_category const workerId = 1110; const tabletId = 1; let stmts = []; @@ -91,7 +90,6 @@ xdescribe('worker workerTimeControl_check()', () => { }); it('should check f the worker with a special category has finished the 9h break', async() => { - // dayBreak to 9h in postgresql.professional_category const workerId = 1110; const tabletId = 1; let stmts = [];