Documentation
¶
Overview ¶
Package pgschema applies PostgreSQL-only schema objects that Ent's schema definitions cannot express, such as expression indexes. Apply it after Ent's migration, and only against PostgreSQL.
Index ¶
Constants ¶
View Source
const HumanEmailIndex = "sf_humans_email_lower_key"
HumanEmailIndex is the unique index on lower(email) in sf_humans. The column's own unique constraint is case-sensitive, while every email lookup is case-insensitive, so this index is what prevents two humans whose emails differ only in case.
Variables ¶
This section is empty.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.