Bug 16735: Clean up sample data

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Kyle Hall 2016-06-23 13:24:54 +00:00 committed by Jonathan Druart
parent bd81430d42
commit d3d4820209
5 changed files with 0 additions and 33 deletions

View file

@ -1,5 +1,3 @@
-- INSERT INTO branchcategories ( `categorycode`,`categoryname`,`codedescription`) VALUES
INSERT INTO branches ( `branchcode`,`branchname`,`branchaddress1`) VALUES
('MPL','Midway','372 Forest Street'),

View file

@ -1,5 +1,3 @@
-- INSERT INTO branchcategories ( `categorycode`,`categoryname`,`codedescription`) VALUES
INSERT INTO branches ( `branchcode`,`branchname`,`branchaddress1`) VALUES
('MPL','Midway','372 Forest Street'),
@ -15,5 +13,3 @@ INSERT INTO branches ( `branchcode`,`branchname`,`branchaddress1`) VALUES
('LPL','Liberty','East Hills'),
('UPL','Union','Chestnut Hollow')
;
-- INSERT INTO branchrelations ( `branchcode`,`categorycode`) VALUES

View file

@ -1,5 +1,3 @@
-- INSERT INTO branchcategories ( `categorycode`,`categoryname`,`codedescription`) VALUES
INSERT INTO branches ( `branchcode`,`branchname`,`branchaddress1`) VALUES
('MPL','Midway','372 Forest Street'),
@ -15,5 +13,3 @@ INSERT INTO branches ( `branchcode`,`branchname`,`branchaddress1`) VALUES
('LPL','Liberty','East Hills'),
('UPL','Union','Chestnut Hollow')
;
-- INSERT INTO branchrelations ( `branchcode`,`categorycode`) VALUES

View file

@ -1,5 +1,3 @@
-- INSERT INTO branchcategories ( `categorycode`,`categoryname`,`codedescription`) VALUES
INSERT INTO branches ( `branchcode`,`branchname`,`branchaddress1`) VALUES
('MPL','Midway','372 Forest Street'),
@ -15,5 +13,3 @@ INSERT INTO branches ( `branchcode`,`branchname`,`branchaddress1`) VALUES
('LPL','Liberty','East Hills'),
('UPL','Union','Chestnut Hollow')
;
-- INSERT INTO branchrelations ( `branchcode`,`categorycode`) VALUES

View file

@ -1,6 +1,4 @@
TRUNCATE branches;
TRUNCATE branchcategories;
TRUNCATE branchrelations;
INSERT INTO `branches` (`branchcode`, `branchname`, `branchaddress1`, `branchaddress2`, `branchaddress3`, `branchphone`, `branchfax`, `branchemail`, `issuing`, `branchip`, `branchprinter`) VALUES
('AB', 'Абонемент',
@ -19,20 +17,3 @@ INSERT INTO `branches` (`branchcode`, `branchname`, `branchaddress1`, `branchadd
'Украина', 'м. Тернопіль', 'ул. Руська 56, кабинет 5 (второй корпус)', '8 (0352) 52-53-45', '', 'lib@tu.edu.te.ua', NULL, '', NULL),
('NPLU', 'Национальная парламентская библиотека Украины',
'Украина', 'г. Киев', 'ул. Грушевского, 1', '38 (044) 278-85-12', '38 (044) 278-85-12', 'office@nplu.org', NULL, '192.168.1.*', NULL);
INSERT INTO `branchcategories` (`categorycode`, `categoryname`, `codedescription`, `categorytype`) VALUES
('HOME', 'Дом', 'Может устанавливаться как домашняя библиотека', 'properties'),
('ISSUE', 'Книговыдача', 'Может выдавать книги', 'properties'),
('NATIOS', 'Национальные библиотеки', 'Поисковая область национальных библиотек', 'searchdomain'),
('PUBLS', 'Публичные библиотеки', 'Поисковая область публичных библиотек', 'searchdomain'),
('UNIVS', 'Университетские библиотеки', 'Поисковая область университетских библиотек', 'searchdomain');
INSERT INTO `branchrelations` (`branchcode`, `categorycode`) VALUES
('AB', 'ISSUE'),
('ABH', 'ISSUE'),
('LNSL', 'HOME'),
('LNSL', 'NATIOS'),
('NPLU', 'HOME'),
('NPLU', 'NATIOS'),
('STL', 'HOME'),
('STL', 'UNIVS');