class Avram::SchemaEnforcer::EnsureUUIDPrimaryKeyHasDefault

Defined in:

avram/schema_enforcer/ensure_uuid_primary_key_has_default.cr

Instance Method Summary

Instance methods inherited from class Avram::SchemaEnforcer::Validation

validate! validate!

Constructor methods inherited from class Avram::SchemaEnforcer::Validation

new(model_class : ::Avram::Model.class) new

Instance methods inherited from class Object

blank_for_validates_required? : Bool blank_for_validates_required?

Instance Method Detail

def has_primary_key? : Bool #

[View source]
def missing_column_default? : Bool #

[View source]
def primary_key_info : Avram::Database::ColumnInfo #

[View source]
def uuid_primary_key? : Bool #

[View source]
def validate! #

[View source]