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

--- Comment #5 from Martin Renvoize (ashimema) 
<[email protected]> ---
Created attachment 207010
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=207010&action=edit
Bug 43666: Relax file_transports.transport from enum to varchar

The transport column being a MySQL enum('ftp','sftp','local') means a
plugin-contributed transport type could never actually be persisted.

Converts the column to varchar(191), keeping NOT NULL and the 'sftp'
default. Validation now lives in the STI dispatch map and the admin
UI's option list, not a hardcoded database enum.

The atomicupdate is idempotent, checking the current column type via
INFORMATION_SCHEMA.

Verified end-to-end by storing a transport='webdav' row and confirming
it persists and falls back to generic Koha::File::Transport behaviour
when no plugin registers that key.

Co-Authored-By: Claude Fable 5 <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to