enforce presence of importance value in placex

This commit is contained in:
Sarah Hoffmann
2026-03-02 09:57:34 +01:00
parent d43e95f177
commit a16c698fb2
4 changed files with 11 additions and 7 deletions

View File

@@ -176,6 +176,7 @@ async def test_load_data(dsn, place_row, place_interpolation_row, placex_table,
BEGIN
NEW.place_id := nextval('seq_place');
NEW.indexed_status := 1;
NEW.importance := 0.00001;
NEW.centroid := ST_Centroid(NEW.geometry);
NEW.partition := 0;
NEW.geometry_sector := 2424;