teksi / district_heating

Future TEKSI distance heating module
https://teksi.github.io/district_heating/
GNU General Public License v3.0
0 stars 0 forks source link

2024 05 29 lenght2 patch #34

Closed sjib closed 3 months ago

sjib commented 5 months ago

Solves https://github.com/teksi/district_heating/issues/32

sjib commented 5 months ago

pre-commit.ci - errors: difficult to skip this as these are values to add:

datamodel/changelogs/0001/03_tdh_db_sia405.sql: INSERT INTO tdh_vl.structure_discharge_type (code, vsacode, value_en, value_de, value_fr, value_it, value_ro, abbr_en, abbr_de, abbr_fr, abbr_it, abbr_ro, active) VALUES (8237,8237,'**wastewater**','Abwasser','eaux_usees', '', '', '', '', '', '', '', 'true');
datamodel/changelogs/0001/09_tdh_dictionaries.sql: INSERT INTO tdh_sys.dictionary_od_values (class_id, attribute_id, value_id, table_name, field_name, value_name, value_name_en, shortcut_en, value_name_de, shortcut_de, value_name_fr, shortcut_fr, value_name_it, shortcut_it, value_name_ro, shortcut_ro, value_description_en, value_description_de, value_description_fr, value_description_it, value_description_ro) VALUES (8009,8232,8237,'structure','discharge_type','**wastewater**','wastewater',NULL,'Abwasser',NULL,'eaux_usees',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);

All other errors are comments that could be eliminated, once we have adapted the scripts completely to district_heating - merged https://github.com/teksi/district_heating/pull/43 to eliminate