diff --git a/priv/repo/migrations/20250617163207_increase_field_lengths_for_packets.exs b/priv/repo/migrations/20250617163207_increase_field_lengths_for_packets.exs new file mode 100644 index 0000000..9a90b58 --- /dev/null +++ b/priv/repo/migrations/20250617163207_increase_field_lengths_for_packets.exs @@ -0,0 +1,14 @@ +defmodule Aprs.Repo.Migrations.IncreaseFieldLengthsForPackets do + use Ecto.Migration + + def change do + alter table(:packets) do + # Change fields that might contain long strings from varchar(255) to text + modify :information_field, :text, from: :string + modify :path, :text, from: :string + modify :manufacturer, :text, from: :string + modify :equipment_type, :text, from: :string + modify :addressee, :text, from: :string + end + end +end