Which type for Text?

How long can a Ash.Type.String become with AshPostgres.DataLayer? 255 characters? What type would I use for longer texts? I found this list but didn't find a text entry:

  :map -> Ash.Type.Map
  :term -> Ash.Type.Term
  :atom -> Ash.Type.Atom
  :string -> Ash.Type.String
  :integer -> Ash.Type.Integer
  :float -> Ash.Type.Float
  :duration_name -> Ash.Type.DurationName
  :function -> Ash.Type.Function
  :boolean -> Ash.Type.Boolean
  :struct -> Ash.Type.Struct
  :uuid -> Ash.Type.UUID
  :binary -> Ash.Type.Binary
  :date -> Ash.Type.Date
  :time -> Ash.Type.Time
  :decimal -> Ash.Type.Decimal
  :ci_string -> Ash.Type.CiString
  :naive_datetime -> Ash.Type.NaiveDatetime
  :utc_datetime -> Ash.Type.UtcDatetime
  :utc_datetime_usec -> Ash.Type.UtcDatetimeUsec
  :url_encoded_binary -> Ash.Type.UrlEncodedBinary
Was this page helpful?