class Marten::DB::Constraint::Unique

Defined in:

marten/db/constraint/unique.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(name : String, fields : Array(Field::Base)) #

[View source]

Instance Method Detail

def clone #

Returns a clone of the current unique constraint.


[View source]

[View source]
def name : String #

[View source]