Crecto provides validations and constraints which are turned into changeset
errors.
Constraints errors are only applied after interacting with the database.
class User < Crecto::Modelschema "users" dofield :uuid, Stringend# If the database row has a UNIQUE constraint, the exception will be caught# and returned as a `changeset` error.unique_constraint :emailend