Koha-clms/installer/data/mysql/atomicupdate/bug_20691.sql

12 lines
628 B
SQL

ALTER TABLE borrowers ADD privacy_guarantor_fines BOOLEAN NOT NULL DEFAULT '0' AFTER privacy;
ALTER TABLE deletedborrowers ADD privacy_guarantor_fines BOOLEAN NOT NULL DEFAULT '0' AFTER privacy;
INSERT IGNORE INTO systempreferences (variable, value, options, explanation, type )
VALUES (
'AllowStaffToSetFinesVisibilityForGuarantor', '0', NULL,
'If enabled, library staff can set a patron''s fines to be visible to linked patrons from the opac.', 'YesNo'
), (
'AllowPatronToSetFinesVisibilityForGuarantor', '0', NULL,
'If enabled, the patron can set fines to be visible to his or her guarantor', 'YesNo'
)