Bug 30275: (QA follow-up) Rename columns to match API
authorTomas Cohen Arazi <tomascohen@theke.io>
Wed, 27 Apr 2022 20:07:01 +0000 (17:07 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 5 Jul 2022 12:46:16 +0000 (09:46 -0300)
commit61e41c4c41a89a6b196edeeacff0f25a8a97ff15
tree9dcfcf7da66d2e6b2d30626857f0b82ae836f1fb
parentcefbaca5914f4e8a4366b29376af9a7b98583afd
Bug 30275: (QA follow-up) Rename columns to match API

This patch performs the following column renames:

* id => renewal_id
* issue_id => checkout_id

The idea is that no translation is needed for the API, and also, being a
new table, we can educate the users into the 'to be' terminology we are
leaning towards, instead of having them learn one naming to create
reports and then need to translate them once we normalize things in a
future.

That said, this is simple to review.

Apply this patch and repeat the test plan.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
C4/Circulation.pm
Koha/Checkouts/Renewal.pm
Koha/Schema/Result/Borrower.pm
Koha/Schema/Result/CheckoutRenewal.pm
Koha/Schema/Result/Issue.pm
Koha/Schema/Result/OldIssue.pm
installer/data/mysql/atomicupdate/bug_30275.pl
installer/data/mysql/kohastructure.sql