struct Clear::Migration::Table::FkeyOperation

Defined in:

clear/migration/operation/table.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(fields : Array(String), table : String, foreign_fields : Array(String), on_delete : String, primary : Bool) #

[View source]

Instance Method Detail

def clone #

[View source]
def copy_with(fields _fields = @fields, table _table = @table, foreign_fields _foreign_fields = @foreign_fields, on_delete _on_delete = @on_delete, primary _primary = @primary) #

[View source]
def fields : Array(String) #

def foreign_fields : Array(String) #

def on_delete : String #

def primary : Bool #

def table : String #