nidus-sync/db/migrations
Eli Ribble e2af49a323
Make lead creation and invalidation for public reports work
The only thing wrong at this point that I can tell is that address
aren't being correctly populated when I reverse geocode.
2026-03-14 01:14:30 +00:00
..
00001_initial.sql Move database logic into separate subdirectory 2025-11-24 18:08:31 +00:00
00002_password.sql Move database logic into separate subdirectory 2025-11-24 18:08:31 +00:00
00003_add_session.sql Move database logic into separate subdirectory 2025-11-24 18:08:31 +00:00
00004_add_oauth_token.sql Move database logic into separate subdirectory 2025-11-24 18:08:31 +00:00
00005_add_arcgis_org.sql Move database logic into separate subdirectory 2025-11-24 18:08:31 +00:00
00006_add_oauth_refresh_expires.sql Move database logic into separate subdirectory 2025-11-24 18:08:31 +00:00
00007_add_fieldseeker.sql Move database logic into separate subdirectory 2025-11-24 18:08:31 +00:00
00008_add_sync.sql Move database logic into separate subdirectory 2025-11-24 18:08:31 +00:00
00009_add_oauth_invalidated.sql Move database logic into separate subdirectory 2025-11-24 18:08:31 +00:00
00010_add_notification.sql Move database logic into separate subdirectory 2025-11-24 18:08:31 +00:00
00011_fix_fieldseeker.sql Move database logic into separate subdirectory 2025-11-24 18:08:31 +00:00
00012_notification_unique_link.sql Move database logic into separate subdirectory 2025-11-24 18:08:31 +00:00
00013_fs_globalid_not_null.sql Move database logic into separate subdirectory 2025-11-24 18:08:31 +00:00
00014_h3_aggregation.sql Move database logic into separate subdirectory 2025-11-24 18:08:31 +00:00
00015_fs_geometry.sql Move database logic into separate subdirectory 2025-11-24 18:08:31 +00:00
00016_fieldseeker_schema.sql Initially made it through full update with new fieldseeker schema 2025-12-05 23:11:57 +00:00
00017_fieldseeker_inserts.sql Initially made it through full update with new fieldseeker schema 2025-12-05 23:11:57 +00:00
00018_nidus_notes.sql Add partial creation function for note_audio 2025-12-21 08:58:23 -07:00
00019_remove_fieldseeker_v1.sql Remove old FieldSeeker tables, use v2 generated tables. 2025-12-24 17:58:08 -07:00
00020_add_org_id_fieldseeker_v2.sql Remove old FieldSeeker tables, use v2 generated tables. 2025-12-24 17:58:08 -07:00
00021_globalid_not_null.sql Add missing migration for globalid not null 2026-01-06 02:15:35 +00:00
00022_h3cell_fieldseeker_tables.sql Add precalc h3 cells to fieldseeker tables 2026-01-05 23:25:16 +00:00
00023_user_org_not_null.sql Always include an organization for every user 2026-01-06 15:06:16 +00:00
00024_publicreport_quick.sql Finish green pool report submission 2026-01-09 19:43:19 +00:00
00025_publicreport_nuisance.sql Finish green pool report submission 2026-01-09 19:43:19 +00:00
00026_publicreport_pool.sql Finish green pool report submission 2026-01-09 19:43:19 +00:00
00027_fix_fieldseeker_pkeys.sql Make fieldseeker tables key on globalid, version 2026-01-13 04:16:24 +00:00
00028_fieldseeker_function_globalid.sql Make fieldseeker tables key on globalid, version 2026-01-13 04:16:24 +00:00
00029_publicreport_locations.sql Switch to pulling data from public reports on search 2026-01-13 18:33:12 +00:00
00030_organization_name_not_null.sql Make organization.name not-nullable, consolidate org in dash context 2026-01-14 21:50:47 +00:00
00031_arcgis_user.sql Remove bob submodule, add arcgis.user 2026-01-15 19:20:39 +00:00
00032_h3_aggregation_add_trap.sql Add aggregation map for traps 2026-01-15 20:25:00 +00:00
00033_h3cell_fieldseeker_traplocation.sql Add aggregation map for traps 2026-01-15 20:25:00 +00:00
00034_district.sql Move imported districts to its own schema, add ref from organization 2026-01-16 14:43:26 +00:00
00035_photo_content_type.sql Extract EXIF data from images 2026-01-16 20:16:58 +00:00
00036_comms.sql Overhaul system for handling text messaging 2026-01-21 03:30:03 +00:00
00037_publicreport_district.sql Bunch of work around assigning reports to districts 2026-01-22 03:27:32 +00:00
00038_organization_logo.sql Bunch of work around assigning reports to districts 2026-01-22 03:27:32 +00:00
00039_email_template.sql Overhaul email sending system 2026-01-23 20:36:16 +00:00
00040_organization_slug.sql Render organization logos by 'slug' 2026-01-24 19:13:55 +00:00
00041_text_log_overhaul.sql Add ability to delay text message sending 2026-01-26 16:10:30 +00:00
00042_text_subscribe_nullable.sql Make username unique, make is_subscribed nullable 2026-01-26 21:11:31 +00:00
00043_username_unique.sql Make username unique, make is_subscribed nullable 2026-01-26 21:11:31 +00:00
00044_comms_text_origin_user.sql Add ability to make LLM agent forget the conversation history 2026-01-27 18:44:02 +00:00
00045_comms_text_sid.sql Add ability to make LLM agent forget the conversation history 2026-01-27 18:44:02 +00:00
00046_comms_text_job_source.sql Add support for continuing background text jobs on subscription 2026-01-29 22:20:03 +00:00
00047_public_nuisance_pruning.sql Prune data layer on nuisance report 2026-01-31 16:14:19 +00:00
00048_comms_phone_subscribed.sql Create report platform layer 2026-01-31 20:08:08 +00:00
00049_publicreport_nuisance_h3cell.sql Remove erroneous organization_id from migration 2026-02-02 02:23:55 +00:00
00051_messagetypeemail_report_notification.sql Fix email sending for report notification confirmation 2026-02-02 17:00:48 +00:00
00052_comms_email_log_notnulls.sql Make 'view in browser' on emails work correctly 2026-02-02 19:34:37 +00:00
00053_nuisance_more_inputs.sql Update storage and display of nuisance report 2026-02-05 16:56:36 +00:00
00054_water_more_inputs.sql Properly record and display pool reports 2026-02-05 21:43:29 +00:00
00055_publicreport_notification_tables.sql Alter report submission page to request reporter name and consent 2026-02-06 15:39:49 +00:00
00056_publicreport_consent.sql Alter report submission page to request reporter name and consent 2026-02-06 15:39:49 +00:00
00057_csv_pool_upload.sql Fix missing enum value for pool condition 2026-03-04 04:02:55 +00:00
00058_district_subscription.sql Modify email subscription table to drop district ID 2026-02-10 05:12:42 +00:00
00059_subscription_drop_district.sql Modify email subscription table to drop district ID 2026-02-10 05:12:42 +00:00
00060_fieldseeker_traplocation_drop_cols.sql Remove fields from fieldseeker 2026-02-10 18:55:28 +00:00
00061_oauth_token_created.sql Show actual information on oauth integration setting page 2026-02-13 21:14:46 +00:00
00062_fileupload_pool_rebuild.sql Fix up attaching errors to rows 2026-02-16 17:59:18 +00:00
00064_organization_eats_district.sql Move data out of import.district and in to organization 2026-02-17 05:33:12 +00:00
00065_user_roles.sql Add user account roles 2026-02-18 07:03:32 +00:00
00066_pool_upload_enums.sql Insert enum value rather than renaming 2026-03-04 12:12:40 +00:00
00067_org_centroid_coords.sql Add centroid information when geocoding 2026-02-25 16:08:32 +00:00
00068_site.sql Add data for handling parcel images 2026-02-28 22:54:39 +00:00
00069_arcgis_layer.sql Add data for handling parcel images 2026-02-28 22:54:39 +00:00
00070_geojsontogeom.sql Add data for handling parcel images 2026-02-28 22:54:39 +00:00
00071_org_state.sql Add data for handling parcel images 2026-02-28 22:54:39 +00:00
00072_mailer.sql Add data for handling parcel images 2026-02-28 22:54:39 +00:00
00073_arcgis_mapping_service.sql Add data for handling parcel images 2026-02-28 22:54:39 +00:00
00074_fileupload_pool_aerial_services.sql Split out ability to upload flyover data from pool uploads 2026-03-02 18:49:02 +00:00
00075_address_parcel_geom_index.sql Split out ability to upload flyover data from pool uploads 2026-03-02 18:49:02 +00:00
00076_func_gen_alpha_code.sql Split out ability to upload flyover data from pool uploads 2026-03-02 18:49:02 +00:00
00077_mailer_rework.sql Rework mailer database schema, add UUID to mailers 2026-03-02 23:27:55 +00:00
00078_address_region.sql Add region (state) to address 2026-03-03 20:27:12 +00:00
00079_merge_pool_upload_row_types.sql Merge aerial flyover and pool CSV row datatypes 2026-03-04 14:52:34 +00:00
00080_signal.sql Relate compliance report requests through leads 2026-03-05 01:22:21 +00:00
00081_file_status_committing.sql Push geocoding down a layer 2026-03-04 18:29:52 +00:00
00082_address_number_text.sql Push geocoding down a layer 2026-03-04 18:29:52 +00:00
00083_drop_pool_organization_id.sql Remove organization from fileupload.pool table, fix in district logic 2026-03-04 20:59:57 +00:00
00084_lead.sql Relate compliance report requests through leads 2026-03-05 01:22:21 +00:00
00085_file_committer.sql Relate compliance report requests through leads 2026-03-05 01:22:21 +00:00
00086_drop_fileupload_pool_condition.sql Relate compliance report requests through leads 2026-03-05 01:22:21 +00:00
00087_site_parcel_nullable.sql Make parcels attached to addresses optional 2026-03-05 02:30:12 +00:00
00088_pool_geometry.sql Add specific location via geometry column on pool 2026-03-05 18:38:22 +00:00
00089_feature.sql Remove a bunch of generated bob, add feature and review tasks 2026-03-06 18:56:30 +00:00
00090_review_task.sql Rename address.geom to address.location 2026-03-06 19:46:41 +00:00
00091_address_location.sql Rename address.geom to address.location 2026-03-06 19:46:41 +00:00
00092_tile_cache.sql Add tile cache and relationship to organization map layer 2026-03-06 21:13:32 +00:00
00093_publicreport_location_type.sql Migrate public report classes to point location 2026-03-08 02:43:00 +00:00
00094_publicreport_address_number.sql Add address number to public reports 2026-03-08 03:16:58 +00:00
00095_publicreport_image_location_type.sql Move publicreport.image to have a point location 2026-03-09 00:48:44 +00:00
00096_publicreport_address_locality.sql Rework publicreport addressing 2026-03-09 18:02:22 +00:00
00097_accuracytype_enum.sql Add 'centroid' accuracy from the database 2026-03-09 18:27:47 +00:00
00098_remove_exif_quotes.sql Add migration to remove extra quotes from EXIF data 2026-03-10 16:18:27 +00:00
00099_publicreport_location_water.sql Fix map display on RMO status-by-id page 2026-03-11 14:59:04 +00:00
00100_tile_empty.sql Save tiles to the database to make empty tile load faster 2026-03-11 17:01:47 +00:00
00101_review_task_pool_condition.sql Add resolution for tracking review_task discards 2026-03-11 22:49:55 +00:00
00102_feature_location.sql Add resolution for tracking review_task discards 2026-03-11 22:49:55 +00:00
00103_site_version.sql Add new view for report counts and invalidated status 2026-03-12 15:27:36 +00:00
00104_publicreport_status_invalidated.sql Add new view for report counts and invalidated status 2026-03-12 15:27:36 +00:00
00105_publicreport_organization_report_count.sql Add new view for report counts and invalidated status 2026-03-12 15:27:36 +00:00
00106_publicreport_location_org_id.sql Make lead creation and invalidation for public reports work 2026-03-14 01:14:30 +00:00
00107_lead_type_publicreport.sql Make lead creation and invalidation for public reports work 2026-03-14 01:14:30 +00:00
goose.sh Make goose.sh callable 2025-12-18 03:37:07 -07:00