class

Avram::Migrator::Columns::StringColumn(T)

Inherits Avram::Migrator::Columns::Base < Reference < Object

Constructors

new(name : String, nilable : Bool | Nil, default : T | Nil, case_sensitive : Bool = true)
Source

Instance methods

column_type

If case_sensitive? is false then the column type is set to citext which requires the citext extension to be enabled otherwise the type is text

Source