From 8484afe2ea98fd950aaa4decb2b7b76a53d88107 Mon Sep 17 00:00:00 2001 From: guillermo Date: Mon, 29 Jan 2024 14:29:10 +0100 Subject: [PATCH] refactor: #6725 Deleted originFk from log tables --- db/versions/10849-chocolateCymbidium/00-roleLog.sql | 1 + db/versions/10849-chocolateCymbidium/01-userLog.sql | 1 + db/versions/10849-chocolateCymbidium/02-entryLog.sql | 1 + db/versions/10849-chocolateCymbidium/03-clientLog.sql | 1 + db/versions/10849-chocolateCymbidium/04-itemLog.sql | 1 + db/versions/10849-chocolateCymbidium/05-shelvingLog.sql | 1 + db/versions/10849-chocolateCymbidium/06-workerLog.sql | 1 + db/versions/10849-chocolateCymbidium/07-deviceProductionLog.sql | 1 + db/versions/10849-chocolateCymbidium/08-zoneLog.sql | 1 + db/versions/10849-chocolateCymbidium/09-rateLog.sql | 1 + db/versions/10849-chocolateCymbidium/10-ticketLog.sql | 1 + db/versions/10849-chocolateCymbidium/11-userLog.sql | 1 + db/versions/10849-chocolateCymbidium/12-routeLog.sql | 1 + db/versions/10849-chocolateCymbidium/13-claimLog.sql | 1 + db/versions/10849-chocolateCymbidium/14-supplierLog.sql | 1 + db/versions/10849-chocolateCymbidium/15-invoiceInLog.sql | 1 + db/versions/10849-chocolateCymbidium/16-travelLog.sql | 1 + db/versions/10849-chocolateCymbidium/17-packingSiteDeviceLog.sql | 1 + 18 files changed, 18 insertions(+) create mode 100644 db/versions/10849-chocolateCymbidium/00-roleLog.sql create mode 100644 db/versions/10849-chocolateCymbidium/01-userLog.sql create mode 100644 db/versions/10849-chocolateCymbidium/02-entryLog.sql create mode 100644 db/versions/10849-chocolateCymbidium/03-clientLog.sql create mode 100644 db/versions/10849-chocolateCymbidium/04-itemLog.sql create mode 100644 db/versions/10849-chocolateCymbidium/05-shelvingLog.sql create mode 100644 db/versions/10849-chocolateCymbidium/06-workerLog.sql create mode 100644 db/versions/10849-chocolateCymbidium/07-deviceProductionLog.sql create mode 100644 db/versions/10849-chocolateCymbidium/08-zoneLog.sql create mode 100644 db/versions/10849-chocolateCymbidium/09-rateLog.sql create mode 100644 db/versions/10849-chocolateCymbidium/10-ticketLog.sql create mode 100644 db/versions/10849-chocolateCymbidium/11-userLog.sql create mode 100644 db/versions/10849-chocolateCymbidium/12-routeLog.sql create mode 100644 db/versions/10849-chocolateCymbidium/13-claimLog.sql create mode 100644 db/versions/10849-chocolateCymbidium/14-supplierLog.sql create mode 100644 db/versions/10849-chocolateCymbidium/15-invoiceInLog.sql create mode 100644 db/versions/10849-chocolateCymbidium/16-travelLog.sql create mode 100644 db/versions/10849-chocolateCymbidium/17-packingSiteDeviceLog.sql diff --git a/db/versions/10849-chocolateCymbidium/00-roleLog.sql b/db/versions/10849-chocolateCymbidium/00-roleLog.sql new file mode 100644 index 000000000..0f2eb1953 --- /dev/null +++ b/db/versions/10849-chocolateCymbidium/00-roleLog.sql @@ -0,0 +1 @@ +ALTER TABLE account.roleLog DROP FOREIGN KEY roleLog_ibfk_1; diff --git a/db/versions/10849-chocolateCymbidium/01-userLog.sql b/db/versions/10849-chocolateCymbidium/01-userLog.sql new file mode 100644 index 000000000..87d687afe --- /dev/null +++ b/db/versions/10849-chocolateCymbidium/01-userLog.sql @@ -0,0 +1 @@ +ALTER TABLE account.userLog DROP FOREIGN KEY userLog_ibfk_1; diff --git a/db/versions/10849-chocolateCymbidium/02-entryLog.sql b/db/versions/10849-chocolateCymbidium/02-entryLog.sql new file mode 100644 index 000000000..e273f54a3 --- /dev/null +++ b/db/versions/10849-chocolateCymbidium/02-entryLog.sql @@ -0,0 +1 @@ +ALTER TABLE vn.entryLog DROP FOREIGN KEY entryLog_ibfk_1; diff --git a/db/versions/10849-chocolateCymbidium/03-clientLog.sql b/db/versions/10849-chocolateCymbidium/03-clientLog.sql new file mode 100644 index 000000000..38a3424a1 --- /dev/null +++ b/db/versions/10849-chocolateCymbidium/03-clientLog.sql @@ -0,0 +1 @@ +ALTER TABLE vn.clientLog DROP FOREIGN KEY clientLog_ibfk_1; diff --git a/db/versions/10849-chocolateCymbidium/04-itemLog.sql b/db/versions/10849-chocolateCymbidium/04-itemLog.sql new file mode 100644 index 000000000..7ad6a6b15 --- /dev/null +++ b/db/versions/10849-chocolateCymbidium/04-itemLog.sql @@ -0,0 +1 @@ +ALTER TABLE vn.itemLog DROP FOREIGN KEY itemLogItemFk; diff --git a/db/versions/10849-chocolateCymbidium/05-shelvingLog.sql b/db/versions/10849-chocolateCymbidium/05-shelvingLog.sql new file mode 100644 index 000000000..031921bdf --- /dev/null +++ b/db/versions/10849-chocolateCymbidium/05-shelvingLog.sql @@ -0,0 +1 @@ +ALTER TABLE vn.shelvingLog DROP FOREIGN KEY shelvingLog_ibfk_1; diff --git a/db/versions/10849-chocolateCymbidium/06-workerLog.sql b/db/versions/10849-chocolateCymbidium/06-workerLog.sql new file mode 100644 index 000000000..c8d4faf44 --- /dev/null +++ b/db/versions/10849-chocolateCymbidium/06-workerLog.sql @@ -0,0 +1 @@ +ALTER TABLE vn.workerLog DROP FOREIGN KEY workerFk; diff --git a/db/versions/10849-chocolateCymbidium/07-deviceProductionLog.sql b/db/versions/10849-chocolateCymbidium/07-deviceProductionLog.sql new file mode 100644 index 000000000..1cd5b54e9 --- /dev/null +++ b/db/versions/10849-chocolateCymbidium/07-deviceProductionLog.sql @@ -0,0 +1 @@ +ALTER TABLE vn.deviceProductionLog DROP FOREIGN KEY deviceProductionOriginFk; diff --git a/db/versions/10849-chocolateCymbidium/08-zoneLog.sql b/db/versions/10849-chocolateCymbidium/08-zoneLog.sql new file mode 100644 index 000000000..b4ed11043 --- /dev/null +++ b/db/versions/10849-chocolateCymbidium/08-zoneLog.sql @@ -0,0 +1 @@ +ALTER TABLE vn.zoneLog DROP FOREIGN KEY zoneLog_ibfk_1; diff --git a/db/versions/10849-chocolateCymbidium/09-rateLog.sql b/db/versions/10849-chocolateCymbidium/09-rateLog.sql new file mode 100644 index 000000000..33e2d4b93 --- /dev/null +++ b/db/versions/10849-chocolateCymbidium/09-rateLog.sql @@ -0,0 +1 @@ +ALTER TABLE vn.rateLog DROP FOREIGN KEY rateOriginFk; diff --git a/db/versions/10849-chocolateCymbidium/10-ticketLog.sql b/db/versions/10849-chocolateCymbidium/10-ticketLog.sql new file mode 100644 index 000000000..e7117d3c6 --- /dev/null +++ b/db/versions/10849-chocolateCymbidium/10-ticketLog.sql @@ -0,0 +1 @@ +ALTER TABLE vn.ticketLog DROP FOREIGN KEY ticketLog_ibfk_1; diff --git a/db/versions/10849-chocolateCymbidium/11-userLog.sql b/db/versions/10849-chocolateCymbidium/11-userLog.sql new file mode 100644 index 000000000..44aa9c495 --- /dev/null +++ b/db/versions/10849-chocolateCymbidium/11-userLog.sql @@ -0,0 +1 @@ +ALTER TABLE vn.userLog DROP FOREIGN KEY userLog_ibfk_1; diff --git a/db/versions/10849-chocolateCymbidium/12-routeLog.sql b/db/versions/10849-chocolateCymbidium/12-routeLog.sql new file mode 100644 index 000000000..dbe8ce143 --- /dev/null +++ b/db/versions/10849-chocolateCymbidium/12-routeLog.sql @@ -0,0 +1 @@ +ALTER TABLE vn.routeLog DROP FOREIGN KEY routeLog_ibfk_1; diff --git a/db/versions/10849-chocolateCymbidium/13-claimLog.sql b/db/versions/10849-chocolateCymbidium/13-claimLog.sql new file mode 100644 index 000000000..23ac00c9a --- /dev/null +++ b/db/versions/10849-chocolateCymbidium/13-claimLog.sql @@ -0,0 +1 @@ +ALTER TABLE vn.claimLog DROP FOREIGN KEY claimOriginFk; diff --git a/db/versions/10849-chocolateCymbidium/14-supplierLog.sql b/db/versions/10849-chocolateCymbidium/14-supplierLog.sql new file mode 100644 index 000000000..53626bbd9 --- /dev/null +++ b/db/versions/10849-chocolateCymbidium/14-supplierLog.sql @@ -0,0 +1 @@ +ALTER TABLE vn.supplierLog DROP FOREIGN KEY supplierLog_supplierFk; diff --git a/db/versions/10849-chocolateCymbidium/15-invoiceInLog.sql b/db/versions/10849-chocolateCymbidium/15-invoiceInLog.sql new file mode 100644 index 000000000..18f015196 --- /dev/null +++ b/db/versions/10849-chocolateCymbidium/15-invoiceInLog.sql @@ -0,0 +1 @@ +ALTER TABLE vn.invoiceInLog DROP FOREIGN KEY invoiceInLog_ibfk_1; diff --git a/db/versions/10849-chocolateCymbidium/16-travelLog.sql b/db/versions/10849-chocolateCymbidium/16-travelLog.sql new file mode 100644 index 000000000..18e68e376 --- /dev/null +++ b/db/versions/10849-chocolateCymbidium/16-travelLog.sql @@ -0,0 +1 @@ +ALTER TABLE vn.travelLog DROP FOREIGN KEY travelLog_ibfk_1; diff --git a/db/versions/10849-chocolateCymbidium/17-packingSiteDeviceLog.sql b/db/versions/10849-chocolateCymbidium/17-packingSiteDeviceLog.sql new file mode 100644 index 000000000..2119c24d9 --- /dev/null +++ b/db/versions/10849-chocolateCymbidium/17-packingSiteDeviceLog.sql @@ -0,0 +1 @@ +ALTER TABLE vn.packingSiteDeviceLog DROP FOREIGN KEY packingSiteDeviceLog_ibfk_1; -- 2.40.1