[Koha-bugs] [Bug 27880] Store each database migrations state in database

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jul 11 09:22:16 CEST 2023


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

--- Comment #36 from Julian Maurice <julian.maurice at biblibre.com> ---
(In reply to David Cook from comment #35)
> If we move it to the start of the application, I think we'd have to process
> upgrades automatically behind the scenes and not via the UI.

It's an interesting option. But maybe Koha should warn before making changes to
the database schema. Or administrators should be able to disable this feature
if they want greater control.
Another option is to simply refuse to start and tell the administrator it
should run updatedatabase.pl
Another one is to start a minimal app that includes only the web installer (but
that would probably require another restart after the web installer is done).

> Would you do this in plack.psgi or somewhere else?

plack.psgi, and Koha::App::{Intranet,Opac}::startup for mojolicious apps

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list