GlossaryTypes
String
Text values such as names, emails, or identifiers stored as text.
Text values such as names, emails, or identifiers stored as text.
String fields hold human-readable or textual data. In SQL they usually map to VARCHAR, TEXT, or CHAR columns. Use strings for emails, slugs, titles, and UUIDs stored as text.
Example
email String @unique @db.VarChar(255)