nidus-sync/db/models
Eli Ribble f1fe8b4d2b
Add contacts, rework comms schema
This in a pretty huge change. At a high level we're adding the concept
of a 'contact' which is a person or organization that has zero or more
contact methods (email, phone). This ended up cascading a number of
changes, including critically to the publicreprt schema. In the end it
seemed safer to get to the point where I'm confident we aren't using any
of the old fields for storing reporter information (though I haven't
deleted the columns yet) so I removed the code for defining those
columns.

At this point I think it's not possible for me to regenerate the bob
schema due to the interdependencies between my various schemas, so the
migration is well-and-truly happening.
2026-05-15 16:58:28 +00:00
..
address.bob.go Remove now-extraneous latitude/longitude generated columns 2026-05-07 16:38:42 +00:00
bob_loaders.bob.go Get back to compiling, but using new jet for publicreport 2026-05-07 10:39:17 +00:00
bob_where.bob.go Get back to compiling, but using new jet for publicreport 2026-05-07 10:39:17 +00:00
comms.email_contact.bob.go Overhaul publicreport storage layer, create unified tables 2026-03-18 15:36:20 +00:00
comms.email_log.bob.go Add new communication table 2026-05-01 15:13:05 +00:00
comms.email_template.bob.go Remove a bunch of generated bob, add feature and review tasks 2026-03-06 18:56:30 +00:00
comms.mailer.bob.go Add first draft of mailer integration 2026-04-16 19:49:18 +00:00
comms.phone.bob.go Make it possible to save SMS support status on phone record 2026-04-13 22:23:29 +00:00
comms.text_job.bob.go Overhaul publicreport storage layer, create unified tables 2026-03-18 15:36:20 +00:00
comms.text_log.bob.go Add new communication table 2026-05-01 15:13:05 +00:00
communication.bob.go Get back to compiling, but using new jet for publicreport 2026-05-07 10:39:17 +00:00
communication_log_entry.bob.go Get back to compiling, but using new jet for publicreport 2026-05-07 10:39:17 +00:00
compliance_report_request.bob.go Add first draft of mailer integration 2026-04-16 19:49:18 +00:00
compliance_report_request_mailer.bob.go Add first draft of mailer integration 2026-04-16 19:49:18 +00:00
district_subscription_email.bob.go Remove a bunch of generated bob, add feature and review tasks 2026-03-06 18:56:30 +00:00
district_subscription_phone.bob.go Remove a bunch of generated bob, add feature and review tasks 2026-03-06 18:56:30 +00:00
feature.bob.go Remove now-extraneous latitude/longitude generated columns 2026-05-07 16:38:42 +00:00
feature_pool.bob.go Make signals include the object they are attached to (pool, report) 2026-03-21 01:19:36 +00:00
fieldseeker.containerrelate.bob.go Remove a bunch of generated bob, add feature and review tasks 2026-03-06 18:56:30 +00:00
fieldseeker.fieldscoutinglog.bob.go Remove a bunch of generated bob, add feature and review tasks 2026-03-06 18:56:30 +00:00
fieldseeker.habitatrelate.bob.go Remove a bunch of generated bob, add feature and review tasks 2026-03-06 18:56:30 +00:00
fieldseeker.inspectionsample.bob.go Remove a bunch of generated bob, add feature and review tasks 2026-03-06 18:56:30 +00:00
fieldseeker.inspectionsampledetail.bob.go Remove a bunch of generated bob, add feature and review tasks 2026-03-06 18:56:30 +00:00
fieldseeker.linelocation.bob.go Remove a bunch of generated bob, add feature and review tasks 2026-03-06 18:56:30 +00:00
fieldseeker.locationtracking.bob.go Remove a bunch of generated bob, add feature and review tasks 2026-03-06 18:56:30 +00:00
fieldseeker.mosquitoinspection.bob.go Remove a bunch of generated bob, add feature and review tasks 2026-03-06 18:56:30 +00:00
fieldseeker.pointlocation.bob.go Remove a bunch of generated bob, add feature and review tasks 2026-03-06 18:56:30 +00:00
fieldseeker.polygonlocation.bob.go Remove a bunch of generated bob, add feature and review tasks 2026-03-06 18:56:30 +00:00
fieldseeker.pool.bob.go Remove a bunch of generated bob, add feature and review tasks 2026-03-06 18:56:30 +00:00
fieldseeker.pooldetail.bob.go Remove a bunch of generated bob, add feature and review tasks 2026-03-06 18:56:30 +00:00
fieldseeker.proposedtreatmentarea.bob.go Remove a bunch of generated bob, add feature and review tasks 2026-03-06 18:56:30 +00:00
fieldseeker.qamosquitoinspection.bob.go Remove a bunch of generated bob, add feature and review tasks 2026-03-06 18:56:30 +00:00
fieldseeker.rodentlocation.bob.go Remove a bunch of generated bob, add feature and review tasks 2026-03-06 18:56:30 +00:00
fieldseeker.samplecollection.bob.go Remove a bunch of generated bob, add feature and review tasks 2026-03-06 18:56:30 +00:00
fieldseeker.samplelocation.bob.go Remove a bunch of generated bob, add feature and review tasks 2026-03-06 18:56:30 +00:00
fieldseeker.servicerequest.bob.go Remove a bunch of generated bob, add feature and review tasks 2026-03-06 18:56:30 +00:00
fieldseeker.speciesabundance.bob.go Remove a bunch of generated bob, add feature and review tasks 2026-03-06 18:56:30 +00:00
fieldseeker.stormdrain.bob.go Remove a bunch of generated bob, add feature and review tasks 2026-03-06 18:56:30 +00:00
fieldseeker.timecard.bob.go Remove a bunch of generated bob, add feature and review tasks 2026-03-06 18:56:30 +00:00
fieldseeker.trapdata.bob.go Remove a bunch of generated bob, add feature and review tasks 2026-03-06 18:56:30 +00:00
fieldseeker.traplocation.bob.go Remove a bunch of generated bob, add feature and review tasks 2026-03-06 18:56:30 +00:00
fieldseeker.treatment.bob.go Remove a bunch of generated bob, add feature and review tasks 2026-03-06 18:56:30 +00:00
fieldseeker.treatmentarea.bob.go Remove a bunch of generated bob, add feature and review tasks 2026-03-06 18:56:30 +00:00
fieldseeker.zones.bob.go Remove a bunch of generated bob, add feature and review tasks 2026-03-06 18:56:30 +00:00
fieldseeker.zones2.bob.go Remove a bunch of generated bob, add feature and review tasks 2026-03-06 18:56:30 +00:00
fieldseeker_sync.bob.go Remove a bunch of generated bob, add feature and review tasks 2026-03-06 18:56:30 +00:00
fileupload.csv.bob.go Remove a bunch of generated bob, add feature and review tasks 2026-03-06 18:56:30 +00:00
fileupload.error_csv.bob.go Remove a bunch of generated bob, add feature and review tasks 2026-03-06 18:56:30 +00:00
fileupload.error_file.bob.go Remove a bunch of generated bob, add feature and review tasks 2026-03-06 18:56:30 +00:00
fileupload.file.bob.go Add error display to file upload 2026-04-15 19:02:25 +00:00
fileupload.pool.bob.go Save address IDs when doing pool geocoding 2026-04-15 20:29:42 +00:00
geography_columns.bob.go Add ability to make LLM agent forget the conversation history 2026-01-27 18:44:02 +00:00
geometry_columns.bob.go Add ability to make LLM agent forget the conversation history 2026-01-27 18:44:02 +00:00
goose_db_version.bob.go Add ability to make LLM agent forget the conversation history 2026-01-27 18:44:02 +00:00
h3_aggregation.bob.go Remove a bunch of generated bob, add feature and review tasks 2026-03-06 18:56:30 +00:00
job.bob.go Create generic backend process, fix background interdependencies 2026-03-16 19:52:29 +00:00
lead.bob.go Add new view for report counts and invalidated status 2026-03-12 15:27:36 +00:00
lob.event.bob.go Save all lob events to the database 2026-04-21 22:24:12 +00:00
log_impersonation.bob.go Create a log for impersonation activities 2026-03-19 03:19:03 +00:00
note_audio.bob.go Create generic backend process, fix background interdependencies 2026-03-16 19:52:29 +00:00
note_audio_breadcrumb.bob.go Remove a bunch of generated bob, add feature and review tasks 2026-03-06 18:56:30 +00:00
note_audio_data.bob.go Remove a bunch of generated bob, add feature and review tasks 2026-03-06 18:56:30 +00:00
note_image.bob.go Emit events on note creation 2026-03-19 21:29:55 +00:00
note_image_breadcrumb.bob.go Remove a bunch of generated bob, add feature and review tasks 2026-03-06 18:56:30 +00:00
note_image_data.bob.go Remove a bunch of generated bob, add feature and review tasks 2026-03-06 18:56:30 +00:00
notification.bob.go Remove a bunch of generated bob, add feature and review tasks 2026-03-06 18:56:30 +00:00
organization.bob.go Initial work marking communications 2026-05-04 19:07:29 +00:00
parcel.bob.go Remove a bunch of generated bob, add feature and review tasks 2026-03-06 18:56:30 +00:00
publicreport.client.bob.go Begin work on saving compliance report 2026-04-10 00:56:51 +00:00
publicreport.compliance.bob.go Get back to compiling, but using new jet for publicreport 2026-05-07 10:39:17 +00:00
publicreport.image.bob.go Overhaul publicreport storage layer, create unified tables 2026-03-18 15:36:20 +00:00
publicreport.image_exif.bob.go Remove a bunch of generated bob, add feature and review tasks 2026-03-06 18:56:30 +00:00
publicreport.notify_email.bob.go Overhaul publicreport storage layer, create unified tables 2026-03-18 15:36:20 +00:00
publicreport.notify_email_nuisance_old.bob.go Overhaul publicreport storage layer, create unified tables 2026-03-18 15:36:20 +00:00
publicreport.notify_email_water_old.bob.go Overhaul publicreport storage layer, create unified tables 2026-03-18 15:36:20 +00:00
publicreport.notify_phone.bob.go Overhaul publicreport storage layer, create unified tables 2026-03-18 15:36:20 +00:00
publicreport.notify_phone_nuisance_old.bob.go Overhaul publicreport storage layer, create unified tables 2026-03-18 15:36:20 +00:00
publicreport.notify_phone_water_old.bob.go Overhaul publicreport storage layer, create unified tables 2026-03-18 15:36:20 +00:00
publicreport.nuisance.bob.go Overhaul publicreport storage layer, create unified tables 2026-03-18 15:36:20 +00:00
publicreport.nuisance_image_old.bob.go Overhaul publicreport storage layer, create unified tables 2026-03-18 15:36:20 +00:00
publicreport.nuisance_old.bob.go Overhaul publicreport storage layer, create unified tables 2026-03-18 15:36:20 +00:00
publicreport.organization_report_count.bob.go Add new view for report counts and invalidated status 2026-03-12 15:27:36 +00:00
publicreport.report.bob.go Add contacts, rework comms schema 2026-05-15 16:58:28 +00:00
publicreport.report_image.bob.go Overhaul publicreport storage layer, create unified tables 2026-03-18 15:36:20 +00:00
publicreport.report_log.bob.go Add DB model for publicreport logs 2026-03-18 17:32:06 +00:00
publicreport.subscribe_email.bob.go Remove a bunch of generated bob, add feature and review tasks 2026-03-06 18:56:30 +00:00
publicreport.subscribe_phone.bob.go Remove a bunch of generated bob, add feature and review tasks 2026-03-06 18:56:30 +00:00
publicreport.water.bob.go Remove hidden water inputs, add missing duration input 2026-04-24 22:23:52 +00:00
publicreport.water_image_old.bob.go Overhaul publicreport storage layer, create unified tables 2026-03-18 15:36:20 +00:00
publicreport.water_old.bob.go Overhaul publicreport storage layer, create unified tables 2026-03-18 15:36:20 +00:00
raster_columns.bob.go Add ability to make LLM agent forget the conversation history 2026-01-27 18:44:02 +00:00
raster_overviews.bob.go Add ability to make LLM agent forget the conversation history 2026-01-27 18:44:02 +00:00
report_text.bob.go Overhaul publicreport storage layer, create unified tables 2026-03-18 15:36:20 +00:00
resident.bob.go Add new view for report counts and invalidated status 2026-03-12 15:27:36 +00:00
review_task.bob.go Add resolution for tracking review_task discards 2026-03-11 22:49:55 +00:00
review_task_pool.bob.go Add resolution for tracking review_task discards 2026-03-11 22:49:55 +00:00
sessions.bob.go Add ability to make LLM agent forget the conversation history 2026-01-27 18:44:02 +00:00
signal.bob.go Remove now-extraneous latitude/longitude generated columns 2026-05-07 16:38:42 +00:00
site.bob.go Make signals, not leads, from public reports. 2026-03-19 17:41:56 +00:00
spatial_ref_sys.bob.go Add ability to make LLM agent forget the conversation history 2026-01-27 18:44:02 +00:00
tile.cached_image.bob.go Add support for satellite tiles, with caching 2026-04-17 17:47:38 +00:00
tile.service.bob.go Port all of the arcgis schema to using jet 2026-05-01 17:28:33 +00:00
user_.bob.go Get back to compiling, but using new jet for publicreport 2026-05-07 10:39:17 +00:00