GlossaryTypes
Types
Glossary entries for field and column types.
- String - Text values such as names, emails, or identifiers stored as text.
- Number - Numeric values including integers, decimals, and auto-increment IDs.
- Boolean - True or false values.
- Date / DateTime - Points in time such as createdAt or publishedAt.
- JSON - Structured data stored as JSON documents.
- Enum - A fixed set of allowed string values.
- Relation - A link between two models or tables.
- Unknown - A type the parser could not classify.
- text - Unbounded or large text column, common in Drizzle and SQL.
- serial - Auto-incrementing integer primary key in PostgreSQL.
- integer - Whole number column, often used for foreign keys.
- timestamp - Date and time value without timezone by default.
- Uuid - Universally unique identifier stored as UUID.
- VarChar - Variable-length string with an optional max length.
- Int - 32-bit integer, common in Prisma schemas.
- DateTime - Prisma date and time scalar type.