Koha-clms/Koha/Schema/Result
Tomas Cohen Arazi 61e41c4c41
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>
2022-07-05 09:46:16 -03:00
..
AccountCreditType.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
AccountCreditTypesBranch.pm Bug 23805: DBIC Classes 2019-10-24 17:35:19 +01:00
AccountDebitType.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
AccountDebitTypesBranch.pm Bug 23049: Add DBIC Classes 2019-10-24 17:25:30 +01:00
AccountOffset.pm Bug 22435: Update DBIC Schema's 2021-08-04 14:06:43 +02:00
Accountline.pm Bug 27946: Update DBIC schema 2022-01-28 11:09:07 -10:00
ActionLog.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
AdditionalContent.pm Bug 29605: Update DBIC schema 2022-02-01 21:39:39 -10:00
AdditionalField.pm Bug 29336: Update DBIC schema 2022-01-18 21:15:05 -10:00
AdditionalFieldValue.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
AdvancedEditorMacro.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Alert.pm Bug 13535: DBIC schema changes 2020-10-08 16:18:19 +02:00
ApiKey.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Aqbasket.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Aqbasketgroup.pm Bug 24461: Add to_api_mapping to Koha::Acquisition::BasketGroup 2020-03-24 11:32:37 +00:00
Aqbasketuser.pm
…
Aqbookseller.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Aqbudget.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Aqbudgetborrower.pm
…
Aqbudgetperiod.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
AqbudgetsPlanning.pm
…
Aqcontact.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Aqcontract.pm
…
Aqinvoice.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
AqinvoiceAdjustment.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Aqorder.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
AqorderUser.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
AqordersClaim.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
AqordersItem.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
AqordersTransfer.pm
…
ArticleRequest.pm Bug 27946: Update DBIC schema 2022-01-28 11:09:07 -10:00
AudioAlert.pm
…
AuthHeader.pm Bug 23152: Fix more pluralisation (and add tests) 2019-10-24 17:01:45 +01:00
AuthSubfieldStructure.pm Bug 29336: Update DBIC schema 2022-01-18 21:15:05 -10:00
AuthTagStructure.pm Bug 29336: Update DBIC schema 2022-01-18 21:15:05 -10:00
AuthType.pm Bug 23152: Implement koha_object[s]_class when needed 2019-06-24 16:36:57 +01:00
AuthorisedValue.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
AuthorisedValueCategory.pm Bug 17355: DBIC changes - boolean flag 2020-05-04 07:57:21 +01:00
AuthorisedValuesBranch.pm
…
BackgroundJob.pm Bug 30889: Schema update 2022-06-30 12:03:19 -03:00
Biblio.pm Bug 30291: Update DBIC schema 2022-05-05 11:17:36 -10:00
BiblioFramework.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
BiblioMetadata.pm Bug 23152: Fix more pluralisation (and add tests) 2019-10-24 17:01:45 +01:00
Biblioitem.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Borrower.pm Bug 30275: (QA follow-up) Rename columns to match API 2022-07-05 09:46:16 -03:00
BorrowerAttribute.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
BorrowerAttributeType.pm Bug 30449: DBIC updates 2022-05-02 11:22:57 -10:00
BorrowerAttributeTypesBranch.pm
…
BorrowerDebarment.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
BorrowerFile.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
BorrowerMessagePreference.pm
…
BorrowerMessageTransportPreference.pm
…
BorrowerModification.pm Bug 21978: Schema Update 2022-06-24 12:30:29 -03:00
BorrowerPasswordRecovery.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
BorrowerRelationship.pm Bug 14570: (RM follow-up) Add class relatinship to BorrowerRelationship 2019-08-21 08:24:27 +01:00
Branch.pm Bug 30291: Update DBIC schema 2022-05-05 11:17:36 -10:00
BranchTransferLimit.pm Bug 23152: Implement koha_object[s]_class when needed 2019-06-24 16:36:57 +01:00
BranchesOverdrive.pm Bug 23152: Implement koha_object[s]_class when needed 2019-06-24 16:36:57 +01:00
Branchtransfer.pm Bug 30924: DBIC update 2022-06-13 10:30:51 -03:00
Browser.pm
…
CashRegister.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
CashRegisterAction.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
CategoriesBranch.pm
…
Category.pm Bug 12446: (QA follow-up) Rename canbeguarantee => can_be_guarantee 2022-06-23 13:34:05 -03:00
CheckoutRenewal.pm Bug 30275: (QA follow-up) Rename columns to match API 2022-07-05 09:46:16 -03:00
CirculationRule.pm Bug 18930: (RM follow-up) Restore primary key find 2019-07-16 13:53:54 +01:00
City.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
ClassSortRule.pm
…
ClassSource.pm
…
ClassSplitRule.pm
…
Club.pm Bug 19618: DBRev 19.06.00.030 2019-10-01 08:14:59 +01:00
ClubEnrollment.pm Bug 23152: Implement koha_object[s]_class when needed 2019-06-24 16:36:57 +01:00
ClubEnrollmentField.pm Bug 23152: Implement koha_object[s]_class when needed 2019-06-24 16:36:57 +01:00
ClubField.pm Bug 23152: Implement koha_object[s]_class when needed 2019-06-24 16:36:57 +01:00
ClubHold.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
ClubHoldsToPatronHold.pm Bug 16787: DBIC schema changes 2021-04-22 14:49:58 +02:00
ClubTemplate.pm Bug 23152: Implement koha_object[s]_class when needed 2019-06-24 16:36:57 +01:00
ClubTemplateEnrollmentField.pm Bug 29336: Update DBIC schema 2022-01-18 21:15:05 -10:00
ClubTemplateField.pm Bug 29336: Update DBIC schema 2022-01-18 21:15:05 -10:00
Collection.pm Bug 17202: DBIC schema changes 2021-04-29 09:55:38 +02:00
CollectionsTracking.pm Bug 17202: DBIC schema changes 2021-04-29 09:55:38 +02:00
ColumnsSetting.pm Bug 24156: DBIC changes 2020-06-25 10:51:59 +02:00
Course.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
CourseInstructor.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
CourseItem.pm Bug 14237: (follow-up) Make the routines exclusively take itemnumber, biblionumber, or ci_id 2021-07-12 12:09:44 +02:00
CourseReserve.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
CoverImage.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
CreatorBatch.pm
…
CreatorImage.pm
…
CreatorLayout.pm
…
CreatorTemplate.pm
…
Currency.pm Bug 23152: Implement koha_object[s]_class when needed 2019-06-24 16:36:57 +01:00
Deletedbiblio.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
DeletedbiblioMetadata.pm
…
Deletedbiblioitem.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Deletedborrower.pm Bug 21978: Schema Update 2022-06-24 12:30:29 -03:00
Deleteditem.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Desk.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Discharge.pm
…
EdifactEan.pm
…
EdifactMessage.pm Bug 21294: Replace BOOLEAN with TINYINT(1) in our DB structure 2020-04-29 16:58:45 +01:00
ExportFormat.pm Bug 5087: (QA follow-up) Rename the attribute to fit later API usage 2020-07-23 10:52:10 +02:00
HoldFillTarget.pm Bug 18958: DBIC schema changes 2020-09-18 11:49:29 +02:00
HouseboundProfile.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
HouseboundRole.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
HouseboundVisit.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Illcomment.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Illrequest.pm Bug 24239: DBIC update 2022-06-23 15:44:44 -03:00
Illrequestattribute.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
ImportAuth.pm
…
ImportBatch.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
ImportBatchProfile.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
ImportBiblio.pm Bug 26853: DBIC schema changes 2020-11-03 10:57:34 +01:00
ImportItem.pm Bug 30830: Add Koha Objects for Koha Import Items 2022-05-31 08:53:55 -03:00
ImportRecord.pm Bug 26326: Add Koha Objects for Import Records and Import Record Matches 2021-11-03 15:40:52 +01:00
ImportRecordMatch.pm Bug 22785: Update DBIC schema 2022-05-03 11:19:50 -10:00
Issue.pm Bug 30275: (QA follow-up) Rename columns to match API 2022-07-05 09:46:16 -03:00
Item.pm Bug 30291: Update DBIC schema 2022-05-05 11:17:36 -10:00
ItemCirculationAlertPreference.pm
…
ItemsLastBorrower.pm
…
ItemsSearchField.pm
…
Itemtype.pm Bug 23207: DBIC schema changes 2021-04-22 14:37:14 +02:00
ItemtypeLocalization.pm
…
ItemtypesBranch.pm Bug 15497: Modify schemas 2019-09-12 16:31:06 +01:00
KeyboardShortcut.pm Bug 21411: DBRev 18.12.00.074 2019-05-10 19:05:38 +00:00
LanguageDescription.pm Bug 29605: Update DBIC schema 2022-02-01 21:39:39 -10:00
LanguageRfc4646ToIso639.pm Bug 29605: Update DBIC schema 2022-02-01 21:39:39 -10:00
LanguageScriptBidi.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
LanguageScriptMapping.pm Bug 29605: Update DBIC schema 2022-02-01 21:39:39 -10:00
LanguageSubtagRegistry.pm Bug 30128: DBIC Schema update 2022-03-08 23:03:33 -10:00
Letter.pm Bug 14233: DBIC schema changes 2021-04-09 15:45:12 +02:00
LibraryGroup.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
LibrarySmtpServer.pm Bug 22343: Add new tables schema file 2020-10-02 10:54:40 +02:00
Linktracker.pm Bug 22690: Add koha_object[s]_class to fix TestBuilder.t 2021-08-27 17:06:09 +02:00
Localization.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
MarcMatcher.pm
…
MarcModificationTemplate.pm
…
MarcModificationTemplateAction.pm
…
MarcOverlayRule.pm Bug 14957: DBIC schema changes 2021-10-26 16:46:03 +02:00
MarcSubfieldStructure.pm Bug 8976: DBIC schema changes 2021-03-01 15:14:22 +01:00
MarcTagStructure.pm Bug 29336: Update DBIC schema 2022-01-18 21:15:05 -10:00
Matchcheck.pm
…
MatcherMatchpoint.pm
…
Matchpoint.pm
…
MatchpointComponent.pm
…
MatchpointComponentNorm.pm
…
Message.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
MessageAttribute.pm
…
MessageQueue.pm Bug 28813: DBIC Schema Update 2021-08-11 12:53:54 +02:00
MessageTransport.pm
…
MessageTransportType.pm
…
MiscFile.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
NeedMergeAuthority.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
OaiSet.pm
…
OaiSetsBiblio.pm
…
OaiSetsDescription.pm
…
OaiSetsMapping.pm Bug 21520: (RM follow-up) Add missed schema update 2020-01-20 14:03:42 +00:00
OauthAccessToken.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
OldIssue.pm Bug 30275: (QA follow-up) Rename columns to match API 2022-07-05 09:46:16 -03:00
OldReserve.pm Bug 29525: Add Koha::Old::Holds->filter_by_anonymizable 2022-02-10 14:44:22 -10:00
Overduerule.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
OverduerulesTransportType.pm
…
PatronConsent.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
PatronList.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
PatronListPatron.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Patronimage.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
PendingOfflineOperation.pm
…
Permission.pm Bug 30060: Update DBIC Schema 2022-02-24 14:35:36 -10:00
PluginData.pm
…
PluginMethod.pm Bug 23152: (RM follow-up) Add handling for Koha::Plugin::Methods 2019-06-24 17:03:19 +01:00
PrintersProfile.pm
…
ProblemReport.pm Bug 27726: DBIC schema changes 2021-04-12 15:27:50 +02:00
PseudonymizedBorrowerAttribute.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
PseudonymizedTransaction.pm Bug 29341: DBIC schema changes 2021-11-19 15:23:27 +01:00
Quote.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Rating.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Recall.pm Bug 30291: Update DBIC schema 2022-05-05 11:17:36 -10:00
RepeatableHoliday.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
ReportsDictionary.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Reserve.pm Bug 21729: Update DBIC schema 2022-01-28 11:09:07 -10:00
ReturnClaim.pm Bug 29495: (follow-up) Use 'item' relationship 2022-01-17 14:55:55 -10:00
Review.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
SavedReport.pm
…
SavedSql.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
SearchField.pm Bug 30498: Corresponding DBIx change for SearchField 2022-04-13 15:55:40 +02:00
SearchHistory.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
SearchMarcMap.pm Bug 18984: DBIC schema changes 2021-10-07 15:49:01 +02:00
SearchMarcToField.pm Bug 30572: DBIx schema change for SearchMarcToField 2022-05-02 11:22:57 -10:00
Serial.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Serialitem.pm Bug 23152: Implement koha_object[s]_class when needed 2019-06-24 16:36:57 +01:00
Session.pm Bug 28489: DBIC schema changes 2021-06-14 17:35:19 +02:00
SmsProvider.pm Bug 23152: Implement koha_object[s]_class when needed 2019-06-24 16:36:57 +01:00
SmtpServer.pm Bug 22343: Add new tables schema file 2020-10-02 10:54:40 +02:00
SocialData.pm Bug 22782: DBIC update for SocialData 2019-05-10 12:14:00 +00:00
SpecialHoliday.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Statistic.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Stockrotationitem.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Stockrotationrota.pm Bug 30565: DBIx schema change for stockrotationrotas 2022-05-02 11:22:56 -10:00
Stockrotationstage.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Subscription.pm Bug 23352: Update DBIC schema 2022-05-10 15:17:17 -10:00
SubscriptionFrequency.pm Bug 23152: Fix more pluralisation (and add tests) 2019-10-24 17:01:45 +01:00
SubscriptionNumberpattern.pm Bug 23152: Implement koha_object[s]_class when needed 2019-06-24 16:36:57 +01:00
Subscriptionhistory.pm Bug 21901: DBRev 19.12.00.076 2020-04-17 10:17:32 +01:00
Subscriptionroutinglist.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Suggestion.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Systempreference.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
TablesSetting.pm Bug 29648: DBIC Schema changes 2022-04-27 11:20:44 -10:00
Tag.pm
…
TagAll.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
TagsApproval.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
TagsIndex.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
TmpHoldsqueue.pm Bug 28972: DBIC schema changes 2021-09-20 14:04:48 +02:00
TransportCost.pm
…
UploadedFile.pm
…
UserPermission.pm Bug 30060: Update DBIC Schema 2022-02-24 14:35:36 -10:00
Userflag.pm
…
VendorEdiAccount.pm Bug 30130: DBIC Update 2022-04-13 15:55:39 +02:00
Virtualshelfcontent.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Virtualshelfshare.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Virtualshelve.pm Bug 26346: (follow-up) Fixing for QA tool 2022-04-12 17:13:02 +02:00
Z3950server.pm Bug 26947: DBIC schema changes 2021-01-21 14:39:51 +01:00
Zebraqueue.pm
…