Add tools for injecting imported parcel and addresses

This commit is contained in:
Eli Ribble 2026-02-28 22:56:00 +00:00
parent 91fe244da8
commit 8455a67750
No known key found for this signature in database
7 changed files with 153 additions and 0 deletions

4
tools/insert-sites.sql Normal file
View file

@ -0,0 +1,4 @@
BEGIN;
INSERT INTO site(address_id, created, creator_id, file_id, id, notes, organization_id, owner_name, owner_phone_e164, parcel_id, resident_owned, tags, version)
VALUES (:address_id, NOW(), :user_id, NULL, DEFAULT, '', :organization_id, '', NULL, :parcel_id, NULL, '', 1);
COMMIT;