https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36993

Matthew Charlesworth <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |WORKSFORME
             Status|NEW                         |RESOLVED

--- Comment #1 from Matthew Charlesworth <[email protected]> ---
I was able to solve it by going into the Database and running the following
commands.

-- Disable foreign key checks
SET FOREIGN_KEY_CHECKS=0;

-- Drop the existing foreign key constraint
ALTER TABLE aqbudgets DROP FOREIGN KEY aqbudgetperiods_ibfk_1;

-- Modify the column to set it as NOT NULL
ALTER TABLE aqbudgets MODIFY COLUMN budget_period_id INT NOT NULL;

-- Add the foreign key constraint back
ALTER TABLE aqbudgets ADD CONSTRAINT aqbudgetperiods_ibfk_1 FOREIGN KEY
(budget_period_id) REFERENCES aqbudgetperiods(budget_period_id);

-- Enable foreign key checks
SET FOREIGN_KEY_CHECKS=1;

And then re-running the upgrade, which gave the following output:

Setting up koha-common (24.05.00-1) ...
Upgrading database schema for library
Upgrade to 23.12.00.023  [03:22:38]: Bug 32132 - Set aqbudgets.budget_period_id
as NOT NULL
        Updated aqbudgets.budget_period_id to NOT accept NULL values
Upgrade to 23.12.00.024  [03:22:38]: Bug 35065 - Move
ILLModuleCopyrightClearance to additional contents
        Removed system preference 'ILLModuleCopyrightClearance'
Upgrade to 23.12.00.025  [03:22:38]: Bug 33393 - Modify sentence above the
order table in English 1-page order PDF
        Added system preference '1PageOrderPDFText'
Upgrade to 23.12.00.026  [03:22:38]: Bug 35616 - Add source column to tickets
table
        Added column 'tickets.source'
Upgrade to 23.12.00.027  [03:22:38]: Bug 32602 - Add administrative plugins
type
        Added new permission 'plugins_admin'
Upgrade to 23.12.00.028  [03:22:38]: Bug 16122 - Add localuse column to items
table and deleted items table
        Added column 'items.localuse'
        Added column 'deleteditems.localuse'
        You may use the new
/misc/maintenance/update_localuse_from_statistics.pl script to populate the new
field from the existing statistics data
Upgrade to 23.12.00.029  [03:22:45]: Bug 35919 - Add record_sources table
        Added new table 'record_sources'
        Added new column 'biblio_metadata.record_source_id'
        Added new foreign key 'biblio_metadata.record_metadata_fk_2'
        Added new column 'deletedbiblio_metadata.record_source_id'
        Added new foreign key 'deletedbiblio_metadata.record_metadata_fk_2'
        Added new permission 'manage_record_sources'
Upgrade to 23.12.00.030  [03:22:45]: Bug 35728 - Add option to NOT redirect to
result when search returns only one record
        Added system preference 'RedirectToSoleResult'
Upgrade to 23.12.00.031  [03:22:45]: Bug 31791 - Add the ability to lock record
modification
        Added new permission 'editcatalogue.edit_locked_records'
        Added new permission 'editcatalogue.set_record_sources'
Upgrade to 23.12.00.032  [03:22:45]: Bug 33478 - Customise the format of
notices when they are printed
        Added column 'letter.style'
Upgrade to 23.12.00.033  [03:22:45]: Bug 31652 - Add geo-search: new value for
search_field.type enum
        Added new value 'geo_point' to search_field.type enum
Upgrade to 23.12.00.034  [03:22:45]: Bug 12802 - Change type of system
preference EmailFieldPrimary to multiple
        Updated system preference 'EmailFieldPrimary' to include 'selected
addresses' option
        Added new system preference 'EmailFieldSelection'
Upgrade to 23.12.00.035  [03:22:45]: Bug 29393 - Add permission
borrowers:send_messages_to_borrowers
        Added new permission 'send_messages_to_borrowers'
Upgrade to 23.12.00.036  [03:22:45]: Bug 35138 - Make the Elasticsearch facets
configurable
        Updated DisplayLibraryFacets and search field configuration
Upgrade to 23.12.00.037  [03:22:45]: Bug 35626 - Add statuses to catalog
concerns
        Added column 'tickets.status'
        Added column 'ticket_updates.status'
        Added TICKET_STATUS authorised value category
Upgrade to 23.12.00.038  [03:22:45]: Bug 32435 - Add ticket resolutions to
catalog concerns
        Added TICKET_RESOLUTION authorised value category
Upgrade to 23.12.00.039  [03:22:45]: Bug 36002 - Remove
aqorders.purchaseordernumber
Upgrade to 23.12.00.040  [03:22:45]: Bug 32610 - Add option for additional
patron attributes of type date
        Added column 'borrower_attribute_types.is_date'
Upgrade to 23.12.00.041  [03:22:45]: Bug 15565 - Add DisplayMultiItemHolds
system preference
        Added new system preference 'DisplayMultiItemHolds'
Upgrade to 23.12.00.042  [03:22:45]: Bug 35657 - Add assignee_id to tickets
        Added column 'tickets.assignee_id'
        Added column 'ticket_updates.assignee_id'
Upgrade to 23.12.00.043  [03:22:45]: Bug 25159 - Add action logs should be
stored in JSON ( and as a diff of the change )
        Added column 'action_logs.diff'
Upgrade to 23.12.00.044  [03:22:45]: Bug 36120 - Add pickup location to
bookings
        Added column 'bookings.pickup_library_id'
        Set existing bookings pickup location to item homebranch
        Set pickup_library_id to NOT NULL
Upgrade to 23.12.00.045  [03:22:45]: Bug 22740 - Preferences to enable
automated setting of lost status when the associated fine is paid or written
off
        Added new system preference 'UpdateItemLostStatusWhenPaid'
        Added new system preference 'UpdateItemLostStatusWhenWriteoff'
Upgrade to 23.12.00.046  [03:22:45]: Bug 27753 - Automate resolution of return
claim when checking in an item
        Added new system preference 'AutoClaimReturnStatusOnCheckin'
        Added new system preference 'AutoClaimReturnStatusOnCheckout'
Upgrade to 23.12.00.047  [03:22:45]: Bug 35169 - Add new system preferences for
longoverdue.pl borrowers categories
        Added new system preference 'DefaultLongOverduePatronCategories'
        Added new system preference 'DefaultLongOverdueSkipPatronCategories'
Upgrade to 23.12.00.048  [03:22:45]: Bug 33134 - Add some 76 missing languages
        Added 76 new languages
Upgrade to 23.12.00.049  [03:22:45]: Bug 36396 - Link Elasticsearch facets with
authorized value categories
        Added Elasticsearch facets with authorized value categories
Upgrade to 23.12.00.050  [03:22:45]: Bug 36687 - Set itemtypes.notforloan to
NOT NULL and tinyint(1)
        Updated itemtypes.notforlaon column'
Upgrade to 23.12.00.051  [03:22:45]: Bug 31097 - Change default 'Manual'
restriction test
        Updated patron restriction types display for MANUAL restrictions from
'Manual' to 'Manual restriction'
Upgrade to 23.12.00.052  [03:22:46]: Bug 32256 - Self checkout batch mode
        Added system preference 'SCOBatchCheckoutsValidCategories'
Upgrade to 23.12.00.053  [03:22:46]: Bug 36755 - Increase length of 'code'
column in borrower_attribute_types
        Increased borrower_attribute_types.code column length from 10 to 64
Upgrade to 23.12.00.054  [03:22:46]: Bug 19768 - Add 'Title notes' tab to
OpacSerialDefaultTab system preference
        Added 'Title notes' option to opacSerialDefaultTab system preference
Upgrade to 23.12.00.055  [03:22:46]: Bug 30047 - Add thesaurus and heading
fields to auth_header table
        Added column 'auth_header.heading'
Upgrade to 23.12.00.056  [03:22:46]: Bug 35149 - Add 'do nothing' option to
CircAutoPrintQuickSlip syspref explanation
        Updated system preference 'CircAutoPrintQuickSlip'
Upgrade to 23.12.00.057  [03:22:46]: Bug 29948 - Display author information for
researchers
        Added new system preference 'OPACAuthorIdentifiersAndInformation'
          Removed system preference 'OPACAuthorIdentifiers'
Upgrade to 23.12.00.058  [03:22:46]: Bug 28869 - Add
authorised_value_categories.is_integer_only
Upgrade to 23.12.00.059  [03:22:46]: Bug 36819 - Change barcode width value if
it still has the wrong default value
        Changed the barcode width in patron card creator default layout from 8%
to 80%.
Upgrade to 23.12.00.060  [03:22:46]: Bug 36665 - Add system preference
StaffLoginBranchBasedOnIP
        Added new system preference 'StaffLoginBranchBasedOnIP'
Upgrade to 23.12.00.061  [03:22:46]: Bug 26176 - Rename AutoLocation and
StaffLoginBranchBasedOnIP system preferences
        Renamed system preference 'AutoLocation' to
'StaffLoginRestrictLibraryByIP'
Upgrade to 24.05.00.000  [03:22:46]: Koha 24.05.00 release

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to