increase packet length

This commit is contained in:
Graham McIntire 2025-06-17 11:32:52 -05:00
parent 464920fbed
commit 4c0433d32e
No known key found for this signature in database

View file

@ -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