Add db_fixtures and license

This commit is contained in:
2026-03-14 14:48:08 +01:00
parent 3da5e13c75
commit 517149e2ff
4 changed files with 311 additions and 6 deletions

View File

@@ -0,0 +1,19 @@
insert into aps_area (id, name, image_path) values (1, 'Waschkeller', 'waschküche.jpg');
insert into aps_area (id, name, description, image_path) values (2, 'Gemeinsam Essen', 'Achtung: Teilnahmen beim Essen werden automatisch aus der Anmeldung übernommen.','gemeinsam-essen.jpg');
insert into aps_area (id, name, image_path) values (3, 'Food Coop', 'food-coop.jpg');
insert into aps_area (id, name, image_path) values (4, 'Kaffeemaschine', 'kaffeemaschine.jpg');
-- Waschküche
insert into aps_product (id, name, area_id, price, unit_of_measure, vat_rate, allow_fractional) values (1, 'Waschen', 1, 0.5, 'piece', 19, false);
insert into aps_product (id, name, area_id, price, unit_of_measure, vat_rate, allow_fractional) values (2, 'Trocknen', 1, 0.75, 'piece', 19, false);
-- Gemeinsam Essen
insert into aps_product (id, name, area_id, price, unit_of_measure, vat_rate, allow_fractional) values (3, 'Essen', 2, 3.5, 'piece', 19, false);
insert into aps_product (id, name, area_id, price, unit_of_measure, vat_rate, allow_fractional) values (4, 'Essen Kind', 2, 2, 'piece', 19, false);
-- Food Coop
insert into aps_product (id, name, area_id, price, unit_of_measure, vat_rate, allow_fractional) values (5, 'Haferflocken', 3, 1.5, 'kg', 7, true);
insert into aps_product (id, name, area_id, price, unit_of_measure, vat_rate, allow_fractional) values (6, 'Penne (hell)', 3, 3.23, 'kg',7, true);
insert into aps_product (id, name, area_id, price, unit_of_measure, vat_rate, allow_fractional) values (7, 'Penne (dunkel)', 3, 3.72, 'kg',7, true);
insert into aps_product (id, name, area_id, price, unit_of_measure, vat_rate, allow_fractional) values (8, 'Waldhonig (klein)', 3, 6.42, 'piece', 7, false);