Bug 22421: Fix KEY names

There is a mismatch in KEY names.
We should use the ones auto-generated by the server, not pass specific
ones.

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
Jonathan Druart 2024-11-25 14:51:28 +01:00 committed by Katrin Fischer
parent 3f033e8aae
commit a072d5ff47
No known key found for this signature in database
GPG Key ID: 0EF6E2C03357A834
1 changed files with 2 additions and 2 deletions

View File

@ -144,10 +144,10 @@ CREATE TABLE `accountlines` (
KEY `debit_type_code` (`debit_type_code`),
KEY `itemnumber` (`itemnumber`),
KEY `branchcode` (`branchcode`),
KEY `issue_id` (`issue_id`),
KEY `old_issue_id` (`old_issue_id`),
KEY `manager_id` (`manager_id`),
KEY `accountlines_ibfk_registers` (`register_id`),
KEY `accountlines_ibfk_old_issues` (`old_issue_id`),
KEY `accountlines_ibfk_issues` (`issue_id`),
CONSTRAINT `accountlines_ibfk_borrowers` FOREIGN KEY (`borrowernumber`) REFERENCES `borrowers` (`borrowernumber`) ON DELETE SET NULL ON UPDATE CASCADE,
CONSTRAINT `accountlines_ibfk_borrowers_2` FOREIGN KEY (`manager_id`) REFERENCES `borrowers` (`borrowernumber`) ON DELETE SET NULL ON UPDATE CASCADE,
CONSTRAINT `accountlines_ibfk_branches` FOREIGN KEY (`branchcode`) REFERENCES `branches` (`branchcode`) ON DELETE SET NULL ON UPDATE CASCADE,