Commit 4bf883d
committed
fix(spp_hazard): address gemini-code-assist review findings
- _parse_datetime_string accepts datetime instances (avoids TypeError on
programmatic values).
- Area-linking query wrapped in a savepoint so an invalid geometry cannot
leave the transaction aborted for subsequent operations.
- Migration column check scoped to current_schema() to avoid false positives
from same-named tables in other schemas.1 parent ed7d0e5 commit 4bf883d
2 files changed
Lines changed: 20 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| 97 | + | |
97 | 98 | | |
98 | 99 | | |
99 | 100 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
33 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
34 | 37 | | |
35 | 38 | | |
36 | 39 | | |
| |||
525 | 528 | | |
526 | 529 | | |
527 | 530 | | |
528 | | - | |
529 | | - | |
530 | | - | |
531 | | - | |
532 | | - | |
533 | | - | |
534 | | - | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
| 542 | + | |
| 543 | + | |
535 | 544 | | |
536 | | - | |
537 | | - | |
538 | | - | |
539 | 545 | | |
540 | 546 | | |
541 | 547 | | |
| |||
0 commit comments