Bug 12267: [QA Follow-up] Adjust installer files; tiny text edit
Some installer files still refer to password_allowed. The print statement of the db revision has been slightly adjusted. Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
This commit is contained in:
parent
38094a260e
commit
313e4c0282
|
|
@ -6,7 +6,7 @@ my ( $column_has_been_used ) = $dbh->selectrow_array(q|
|
|||
|);
|
||||
|
||||
if ( $column_has_been_used ) {
|
||||
warn q|WARNING: The columns borrower_attribute_types.password_allowed and borrower_attributes.column have been removed from the Koha codebase. There were not used. However your installation has at least 1 borrower_attributes.password defined. In order not to alter your data, the columns have been kept, please remove them manually if you do not use them this feature.|;
|
||||
print q|WARNING: The columns borrower_attribute_types.password_allowed and borrower_attributes.password have been removed from the Koha codebase. They were not used. However your installation has at least one borrower_attributes.password defined. In order not to alter your data, the columns have been kept, please save the information elsewhere and remove these columns manually.|;
|
||||
} else {
|
||||
$dbh->do(q|
|
||||
ALTER TABLE borrower_attribute_types DROP column password_allowed
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
INSERT INTO `borrower_attribute_types` (`code`, `description`, `repeatable`, `unique_id`, `opac_display`, `password_allowed`, `staff_searchable`, `authorised_value_category`)
|
||||
VALUES ('SHOW_BCODE', 'Zeige den Barcode in der Exemplarübersicht', 0, 0, 1, 0, 0, 'YES_NO');
|
||||
INSERT INTO `borrower_attribute_types` (`code`, `description`, `repeatable`, `unique_id`, `opac_display`, `staff_searchable`, `authorised_value_category`)
|
||||
VALUES ('SHOW_BCODE', 'Zeige den Barcode in der Exemplarübersicht', 0, 0, 1, 0, 'YES_NO');
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
INSERT INTO `borrower_attribute_types` (`code`, `description`, `repeatable`, `unique_id`, `opac_display`, `password_allowed`, `staff_searchable`, `authorised_value_category`)
|
||||
VALUES ('SHOW_BCODE', 'Show barcode on the summary screen items listings', 0, 0, 1, 0, 0, 'YES_NO');
|
||||
INSERT INTO `borrower_attribute_types` (`code`, `description`, `repeatable`, `unique_id`, `opac_display`, `staff_searchable`, `authorised_value_category`)
|
||||
VALUES ('SHOW_BCODE', 'Show barcode on the summary screen items listings', 0, 0, 1, 0, 'YES_NO');
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
INSERT INTO `borrower_attribute_types` (`code`, `description`, `repeatable`, `unique_id`, `opac_display`, `password_allowed`, `staff_searchable`, `authorised_value_category`)
|
||||
VALUES ('SHOW_BCODE', 'Show barcode on the summary screen items listings', 0, 0, 1, 0, 0, 'YES_NO');
|
||||
INSERT INTO `borrower_attribute_types` (`code`, `description`, `repeatable`, `unique_id`, `opac_display`, `staff_searchable`, `authorised_value_category`)
|
||||
VALUES ('SHOW_BCODE', 'Show barcode on the summary screen items listings', 0, 0, 1, 0, 'YES_NO');
|
||||
|
|
|
|||
|
|
@ -1,17 +1,14 @@
|
|||
TRUNCATE borrower_attribute_types;
|
||||
|
||||
INSERT INTO `borrower_attribute_types` (`code`, `description`, `repeatable`, `unique_id`, `opac_display`, `password_allowed`, `staff_searchable`, `authorised_value_category`) VALUES
|
||||
('EDUCATION', 'Образование', 1, 0, 1, 0, 1, ''),
|
||||
('EDU_INST', 'Учебное заведение', 1, 0, 1, 0, 1, ''),
|
||||
('ETHNICITY', 'Этническая принадлежность', 0, 0, 1, 0, 1, ''),
|
||||
('ETHNICNOTE', 'Замечания по этнической принадлежности', 0, 0, 1, 0, 1, ''),
|
||||
('IDLDAP', 'Идентификатор LDAP', 0, 0, 0, 0, 1, ''),
|
||||
('NATIONAL', 'Национальность', 0, 0, 1, 0, 0, ''),
|
||||
('PASSP_NO', 'Серия и номер паспорта', 0, 0, 0, 0, 0, ''),
|
||||
('PAS_IS_DAT', 'Когда выдан паспорт', 0, 0, 0, 0, 0, ''),
|
||||
('PAS_IS_ORG', 'Где выдан паспорт', 0, 0, 0, 0, 0, ''),
|
||||
('PATRONYMIC', 'Отчество', 0, 0, 1, 0, 1, ''),
|
||||
('PROFESSION', 'Профессия', 1, 0, 1, 0, 1, '');
|
||||
|
||||
-- ('PASSP_NO', 'Номер паспорта', 0, 0, 0, 0, 0, ''),
|
||||
-- ('PASSP_PREF', 'Серия паспорта', 0, 0, 0, 0, 0, ''),
|
||||
INSERT INTO `borrower_attribute_types` (`code`, `description`, `repeatable`, `unique_id`, `opac_display`, `staff_searchable`, `authorised_value_category`) VALUES
|
||||
('EDUCATION', 'Образование', 1, 0, 1, 1, ''),
|
||||
('EDU_INST', 'Учебное заведение', 1, 0, 1, 1, ''),
|
||||
('ETHNICITY', 'Этническая принадлежность', 0, 0, 1, 1, ''),
|
||||
('ETHNICNOTE', 'Замечания по этнической принадлежности', 0, 0, 1, 1, ''),
|
||||
('IDLDAP', 'Идентификатор LDAP', 0, 0, 0, 1, ''),
|
||||
('NATIONAL', 'Национальность', 0, 0, 1, 0, ''),
|
||||
('PASSP_NO', 'Серия и номер паспорта', 0, 0, 0, 0, ''),
|
||||
('PAS_IS_DAT', 'Когда выдан паспорт', 0, 0, 0, 0, ''),
|
||||
('PAS_IS_ORG', 'Где выдан паспорт', 0, 0, 0, 0, ''),
|
||||
('PATRONYMIC', 'Отчество', 0, 0, 1, 1, ''),
|
||||
('PROFESSION', 'Профессия', 1, 0, 1, 1, '');
|
||||
|
|
|
|||
|
|
@ -1,17 +1,14 @@
|
|||
TRUNCATE borrower_attribute_types;
|
||||
|
||||
INSERT INTO `borrower_attribute_types` (`code`, `description`, `repeatable`, `unique_id`, `opac_display`, `password_allowed`, `staff_searchable`, `authorised_value_category`) VALUES
|
||||
('EDUCATION', 'Освіта', 1, 0, 1, 0, 1, ''),
|
||||
('EDU_INST', 'Учбовий заклад', 1, 0, 1, 0, 1, ''),
|
||||
('ETHNICITY', 'Етнічна приналежність', 0, 0, 1, 0, 1, ''),
|
||||
('ETHNICNOTE', 'Примітки щодо етнічної приналежності', 0, 0, 1, 0, 1, ''),
|
||||
('IDLDAP', 'Ідентифікатор LDAP', 0, 0, 0, 0, 1, ''),
|
||||
('NATIONAL', 'Національність', 0, 0, 1, 0, 0, ''),
|
||||
('PASSP_NO', 'Серія та номер паспорта', 0, 0, 0, 0, 0, ''),
|
||||
('PAS_IS_DAT', 'Коли видано паспорт', 0, 0, 0, 0, 0, ''),
|
||||
('PAS_IS_ORG', 'Де видано паспорт', 0, 0, 0, 0, 0, ''),
|
||||
('PATRONYMIC', 'По батькові', 0, 0, 1, 0, 1, ''),
|
||||
('PROFESSION', 'Професія', 1, 0, 1, 0, 1, '');
|
||||
|
||||
-- ('PASSP_NO', 'Номер паспорта', 0, 0, 0, 0, 0, ''),
|
||||
-- ('PASSP_PREF', 'Серія паспорта', 0, 0, 0, 0, 0, ''),
|
||||
INSERT INTO `borrower_attribute_types` (`code`, `description`, `repeatable`, `unique_id`, `opac_display`, `staff_searchable`, `authorised_value_category`) VALUES
|
||||
('EDUCATION', 'Освіта', 1, 0, 1, 1, ''),
|
||||
('EDU_INST', 'Учбовий заклад', 1, 0, 1, 1, ''),
|
||||
('ETHNICITY', 'Етнічна приналежність', 0, 0, 1, 1, ''),
|
||||
('ETHNICNOTE', 'Примітки щодо етнічної приналежності', 0, 0, 1, 1, ''),
|
||||
('IDLDAP', 'Ідентифікатор LDAP', 0, 0, 0, 1, ''),
|
||||
('NATIONAL', 'Національність', 0, 0, 1, 0, ''),
|
||||
('PASSP_NO', 'Серія та номер паспорта', 0, 0, 0, 0, ''),
|
||||
('PAS_IS_DAT', 'Коли видано паспорт', 0, 0, 0, 0, ''),
|
||||
('PAS_IS_ORG', 'Де видано паспорт', 0, 0, 0, 0, ''),
|
||||
('PATRONYMIC', 'По батькові', 0, 0, 1, 1, ''),
|
||||
('PROFESSION', 'Професія', 1, 0, 1, 1, '');
|
||||
|
|
|
|||
Loading…
Reference in New Issue