Phoenix : ArgumentError - invalid type

Phoenix schema: ArgumentError - invalid or unknown type :text for field

:text can be used in migrations, but not when describing the schema in the model. Use :string instead.

Nick Ciolpan
04 Sep 2020
« Back to post