我在我的模型中定义了一个Ecto类型{:array,:string}的字段。它在开发中工作正常但我在尝试仅在生产中运行seeds.exs时遇到此错误:
Ecto.ChangeError value ["images/specific/eventos/sixtyfive/1.jpg", "images/specific/eventos/sixtyfive/2.jpg", "images/specific/eventos/sixtyfive/3.jpg", "images/specific/eventos/sixtyfive/4.jpg", "images/specific/eventos/sixtyfive/5.jpg"] for `FabASA.Evento.imgPath` in `insert` does not match type :string
我是否需要更改迁移中的类型?