added inital 'delete' lines, so running 'mysql koha3 < marc21_framework_DEFAULT.sql' doesnt fail if you currently have existing rows in your marc-framework tables (which is likely)
Signed-off-by: Chris Cormack <crc@liblime.com> Signed-off-by: Joshua Ferraro <jmf@liblime.com>
This commit is contained in:
parent
4e7a76e256
commit
2e3676d7de
1 changed files with 2 additions and 0 deletions
|
@ -44,6 +44,8 @@ SET FOREIGN_KEY_CHECKS = 0;
|
|||
|
||||
-- Current Record ID Field/Subfields
|
||||
|
||||
DELETE FROM `marc_tag_structure`;
|
||||
DELETE FROM `marc_subfield_structure`;
|
||||
|
||||
INSERT INTO `marc_tag_structure` (`tagfield`, `liblibrarian`, `libopac`, `repeatable`, `mandatory`, `authorised_value`, `frameworkcode`) VALUES
|
||||
('999', 'SYSTEM CONTROL NUMBERS (KOHA)', 'SYSTEM CONTROL NUMBERS (KOHA)', 1, 0, '', '');
|
||||
|
|
Loading…
Reference in a new issue