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:
Mason James 2007-11-11 12:01:01 -06:00 committed by Joshua Ferraro
parent 4e7a76e256
commit 2e3676d7de

View file

@ -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, '', '');