Import of CSV-Data and data structure

This commit is contained in:
Matthias Engelien
2024-09-09 21:13:43 +02:00
parent 6985e0ea87
commit 97d86cd11a
18 changed files with 266 additions and 110 deletions

View File

@@ -0,0 +1,12 @@
-- test data
INSERT INTO GARAGE (CODE, NAME, MAX_APPOINTMENTS)
VALUES
('test-data', 'Test Autohaus', 2);
INSERT INTO GARAGE_SERVICES (GARAGE_ID, SERVICE_ID, DURATION)
VALUES
(select id from GARAGE where CODE = 'test-data', 1, 14400),
(select id from GARAGE where CODE = 'test-data', 2, 900),
(select id from GARAGE where CODE = 'test-data', 3, 1800);