Mercurial > dive4elements > river
view backend/doc/schema/oracle_migrations/update_bedarf_2-3-6-3-B.sql @ 9661:9b8ba3b83a15
Importer (s/u-info) vegetation zones: new database column in vegetation_type table for german type name,
localized vegetation type names by querying the database instead of translating by resource property,
detecting and cancelling the import of a second vegetation zone file for a river,
detecting, logging, cancelling in case of wrong column titles,
detecting, logging and ignoring lines with missing (color) values,
comparing vegetation zone name and class with the database and logging+ignoring in case of inconsistencies,
starting the most elevated zone with 0 instead of -1 overflow days
author | mschaefer |
---|---|
date | Mon, 23 Mar 2020 16:38:12 +0100 |
parents | |
children | f7738e64fce6 |
line wrap: on
line source
--Neues Feld vegetation_type.de_name SET AUTOCOMMIT ON; ALTER TABLE vegetation_type ADD (de_name VARCHAR2(256)); UPDATE vegetation_type SET de_name='Zonaler Wald' WHERE id=1; UPDATE vegetation_type SET de_name='Hartholzaue, trocken' WHERE id=2; UPDATE vegetation_type SET de_name='Hartholzaue, feucht' WHERE id=3; UPDATE vegetation_type SET de_name='Silberweidenwald' WHERE id=4; UPDATE vegetation_type SET de_name='Weidengeb�sch' WHERE id=5; UPDATE vegetation_type SET de_name='Uferr�hricht' WHERE id=6; UPDATE vegetation_type SET de_name='Uferpioniere' WHERE id=7; UPDATE vegetation_type SET de_name='vegetationslos' WHERE id=8; UPDATE vegetation_type SET de_name='Wasserfl�che' WHERE id=9; ALTER TABLE vegetation_type MODIFY (de_name NOT NULL); COMMIT;