Haytni.Migration (Haytni v0.7.0) View Source
Regroup various helper functions specifically used by migrations
Link to this section Summary
Functions
Helper for migrations to choose the best type for a case insensitive string like email addresses based on the current database.
Link to this section Functions
Specs
case_insensitive_string_type() :: atom()
Helper for migrations to choose the best type for a case insensitive string like email addresses based on the current database.
Only handles PostgreSQL for now, by returning :citext
instead of :string
by default and try
to install the citext extension if it was not already done.