increase packet length
This commit is contained in:
parent
464920fbed
commit
4c0433d32e
1 changed files with 14 additions and 0 deletions
|
|
@ -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
|
||||
Loading…
Add table
Reference in a new issue