From 2e3676d7deabb8e735f41d5e1d43c9ab50101c85 Mon Sep 17 00:00:00 2001 From: Mason James Date: Sun, 11 Nov 2007 12:01:01 -0600 Subject: [PATCH] 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 Signed-off-by: Joshua Ferraro --- .../marcflavour/marc21/mandatory/marc21_framework_DEFAULT.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/installer/data/en/marcflavour/marc21/mandatory/marc21_framework_DEFAULT.sql b/installer/data/en/marcflavour/marc21/mandatory/marc21_framework_DEFAULT.sql index efdc8981d1..acfb7002c8 100644 --- a/installer/data/en/marcflavour/marc21/mandatory/marc21_framework_DEFAULT.sql +++ b/installer/data/en/marcflavour/marc21/mandatory/marc21_framework_DEFAULT.sql @@ -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, '', ''); -- 2.39.5