Marten::DB::Management::Column::Base
Inherits Marten::DB::CanFormatStringsOrSymbols / Reference / Object
Abstract base migration column implementation.
Constructors
Instance methods
Returns true if the other column corresponds to the same column configuration.
Returns true if the other column (which can have a different name) corresponds to the same configuration.
Returns a serialized version of the column arguments to be used when generating migrations.
The returned string will be used in the context of add_column / column statements in generated
migrations.
Returns the literal quoted value of the default value for a specific database connection.
Returns the raw type of the column to use for the column at hand and a specific database connection.
Returns the raw type suffix of the column to use for the column at hand and a specific database connection.
Returns a boolean indicating whether the column value should be unique throughout the associated table.