aprs.me/priv/repo/migrations
Graham McIntire ead0be4434
db: drop 10 unused legacy columns from packets table
Dead fields left over from the original parser schema: srccallsign,
dstcallsign, origpacket, header, body, alive, posambiguity,
symboltable, symbolcode, messaging. None are declared in the Packet
schema, none are read anywhere in lib/ or test/, and Packet.strip_dead_fields/1
already removed them from attrs before insert.

In environments where ConsolidatePacketsColumns (20260220230000)
already DROP/RECREATEd the table without these columns the migration
is a safety-net no-op thanks to IF EXISTS; otherwise it ALTERs the
parent partitioned table and Postgres cascades to all partitions.
2026-04-21 10:15:04 -05:00
..
.formatter.exs initial 2023-01-26 13:20:23 -06:00
20230129191140_create_users_auth_tables.exs refactor to use external parser 2025-06-24 14:22:09 -05:00
20230131171908_create_packets.exs refactor to use external parser 2025-06-24 14:22:09 -05:00
20230606000001_add_packet_replay_fields.exs refactor to use external parser 2025-06-24 14:22:09 -05:00
20250108151500_add_item_and_dao_fields.exs feat: Add database support for APRS items/objects and DAO extension 2025-08-04 10:19:34 -05:00
20250616024903_add_additional_packet_fields.exs fix messaging name 2025-06-24 14:29:47 -05:00
20250616142706_enable_postgis_and_migrate_location_data.exs refactor to use external parser 2025-06-24 14:22:09 -05:00
20250617135401_create_badpackets.exs refactor to use external parser 2025-06-24 14:22:09 -05:00
20250617163207_increase_field_lengths_for_packets.exs refactor to use external parser 2025-06-24 14:22:09 -05:00
20250617190000_notify_on_badpackets_insert.exs refactor to use external parser 2025-06-24 14:22:09 -05:00
20250617191000_notify_on_packets_insert.exs refactor to use external parser 2025-06-24 14:22:09 -05:00
20250617200000_recreate_notify_packets_insert_function.exs live update info page 2025-07-04 11:45:00 -05:00
20250620182604_change_lat_lon_to_decimal_in_packets.exs refactor to use external parser 2025-06-24 14:22:09 -05:00
20250621120000_create_devices.exs refactor to use external parser 2025-06-24 14:22:09 -05:00
20250621121000_add_device_identifier_to_packets.exs refactor to use external parser 2025-06-24 14:22:09 -05:00
20250623190000_update_devices_timestamps_to_utc_usec.exs refactor to use external parser 2025-06-24 14:22:09 -05:00
20250623193000_update_packets_timestamps_to_utc.exs refactor to use external parser 2025-06-24 14:22:09 -05:00
20250625160414_add_luminosity_to_packets.exs weather fixing 2025-06-25 11:40:04 -05:00
20250625163153_add_snow_to_packets.exs weather fixing 2025-06-25 11:40:04 -05:00
20250628162146_backfill_location_field_for_existing_packets.exs historical packets working again 2025-06-28 11:34:15 -05:00
20250703180500_add_sender_index_to_packets.exs add index for weather 2025-07-03 13:07:34 -05:00
20250704164340_update_packets_notification_payload.exs live update info page 2025-07-04 11:45:00 -05:00
20250704174406_optimize_map_queries.exs optimize migrations 2025-07-11 13:06:49 -05:00
20250704213613_drop_users_and_users_tokens_tables.exs drop users tables 2025-07-04 16:54:29 -05:00
20250707160256_add_error_tracker.exs include migration 2025-07-07 11:06:35 -05:00
20250707171625_add_count_optimization_index.exs try to fix initial db migration 2025-07-10 18:08:28 -05:00
20250707214530_enable_pg_stat_statements.exs Handle insufficient privileges in pg_stat_statements migration 2026-02-18 12:09:56 -06:00
20250708140444_add_additional_performance_indexes.exs performance improvements 2025-07-08 10:03:52 -05:00
20250709000000_optimize_weather_packet_lookups.exs fix migration errors 2025-07-09 16:27:21 -05:00
20250710150258_optimize_info_weather_pages.exs refactor and performance improvements 2025-07-10 10:53:34 -05:00
20250710155050_add_sender_lower_index.exs refactor and performance improvements 2025-07-10 10:53:34 -05:00
20250710175129_test_query.exs fix historical packet loading 2025-07-10 13:15:16 -05:00
20250710202030_restore_users_auth_tables.exs restore users table 2025-07-10 15:30:21 -05:00
20250710205402_add_callsign_to_users.exs add callsign to users 2025-07-10 16:07:05 -05:00
20250710230644_optimize_initial_index_creation.exs try to fix initial db migration 2025-07-10 18:08:28 -05:00
20250711180558_add_weather_packets_index.exs optimize migrations 2025-07-11 13:06:49 -05:00
20250712150402_add_phg_fields_to_packets.exs add PHG parsing 2025-07-12 10:22:43 -05:00
20250712150759_change_phg_fields_to_integer.exs add PHG parsing 2025-07-12 10:22:43 -05:00
20250713160000_ensure_packet_cleanup_indexes.exs cleanup worker tweaks 2025-07-14 12:31:47 -05:00
20250714161821_add_performance_indexes.exs performance improvements 2025-07-14 16:35:58 -05:00
20250714200255_add_packet_counter_table.exs performance improvements 2025-07-14 16:35:58 -05:00
20250714210000_optimize_insert_performance.exs more performance improvements/cleanup 2025-07-14 16:49:55 -05:00
20250715000000_optimize_stations_heard_by_query.exs performance improvements 2025-07-14 16:35:58 -05:00
20250715140830_remove_duplicate_indexes.exs remove duplicate indexes and fix telemetry metrics 2025-07-15 09:17:30 -05:00
20250715155632_remove_duplicate_received_at_indexes.exs Fix duplicate indexes and missing socket assigns 2025-07-15 11:01:27 -05:00
20250715183117_optimize_packet_counters_autovacuum.exs Fix packet_counters table bloat with sequence-based counter 2025-07-15 13:34:15 -05:00
20250715183139_replace_packet_counter_with_sequence.exs Fix packet_counters table bloat with sequence-based counter 2025-07-15 13:34:15 -05:00
20250718210112_add_optimized_performance_indexes.exs Implement critical performance optimizations and error handling 2025-07-18 18:19:49 -05:00
20250719202358_add_truncate_reset_for_packet_counter.exs Fix timer cancellation in PacketConsumer and simplify migration 2025-07-21 08:48:57 -05:00
20250721190613_add_weather_indexes.exs Add database indexes for weather data queries 2025-07-21 14:07:08 -05:00
20250726215048_add_optimized_indexes.exs Fix CI test failures 2025-07-28 12:32:16 -05:00
20250726225000_complete_optimized_indexes.exs db indexes 2025-07-26 18:41:08 -05:00
20250727000000_add_has_weather_column.exs format 2025-07-27 11:16:16 -05:00
20250728225530_update_notify_packets_insert_with_all_fields.exs Fix live updates for /info/:call page by sending all packet fields 2025-07-28 17:57:16 -05:00
20250728230000_add_missing_fields_to_packet_notify.exs Enhance info page live updates with comprehensive packet data 2025-07-28 18:00:38 -05:00
20250729160000_fix_packet_notify_trigger.exs Fix DateTime.to_iso8601 error by handling NaiveDateTime 2025-07-29 10:57:36 -05:00
20250729173130_add_rain_midnight_field.exs format 2025-07-29 12:37:22 -05:00
20250730185642_optimize_packet_queries.exs fix: Remove non-immutable NOW() function from index predicate 2025-07-30 14:15:13 -05:00
20250801211702_add_position_ambiguity_to_packets.exs feat: Add position ambiguity support from APRS parser 2025-08-01 16:21:19 -05:00
20250801215236_add_parser_improvements.exs feat: Add support for enhanced APRS parser features 2025-08-01 16:57:28 -05:00
20250801231447_add_enhanced_parser_fields.exs feat: Update code to handle improved APRS parser features 2025-08-01 18:16:44 -05:00
20250802143345_add_upper_sender_index.exs perf: Implement performance optimizations without caching 2025-08-02 09:36:50 -05:00
20250803003155_add_parser_compatibility_fields.exs updates with parser updates 2025-08-03 09:19:31 -05:00
20250809000000_increase_all_string_fields_to_text.exs fix: resolve VARCHAR(255) database errors by migrating to TEXT fields 2025-08-09 16:54:38 -04:00
20251025183718_add_callsign_search_indexes.exs Use runtime pool check instead of Mix.env for migration 2025-10-25 16:54:10 -05:00
20260219191058_make_callsign_case_insensitive.exs Fix callsign registration to be case-insensitive 2026-02-19 13:20:07 -06:00
20260219214034_drop_unused_packet_indexes.exs Drop 31 unused indexes on packets table (~4.6 GB) 2026-02-19 15:47:27 -06:00
20260220200000_partition_packets_table.exs Partition packets table by day and simplify cleanup 2026-02-20 11:25:16 -06:00
20260220230000_consolidate_packets_columns.exs Consolidate 24 packet columns into JSONB data field 2026-02-20 13:02:47 -06:00
20260417134047_drop_redundant_packet_indexes_and_triggers.exs perf: drop redundant packet indexes, compute has_weather in elixir, tighten on_conflict target 2026-04-17 13:42:19 -05:00
20260417134617_drop_packets_notify_trigger.exs perf: replace per-row pg_notify trigger with elixir broadcast after batch insert 2026-04-17 13:46:51 -05:00
20260421100900_drop_unused_packet_columns.exs db: drop 10 unused legacy columns from packets table 2026-04-21 10:15:04 -05:00