def primary : Bool
#
struct Clear::Migration::Table::FkeyOperation
- Clear::Migration::Table::FkeyOperation
- Struct
- Value
- Object
Defined in:
clear/migration/operation/table.crConstructors
Instance Method Summary
- #clone
- #copy_with(fields _fields = @fields, table _table = @table, foreign_fields _foreign_fields = @foreign_fields, on_delete _on_delete = @on_delete, primary _primary = @primary)
- #fields : Array(String)
- #foreign_fields : Array(String)
- #on_delete : String
- #primary : Bool
- #table : String
Constructor Detail
def self.new(fields : Array(String), table : String, foreign_fields : Array(String), on_delete : String, primary : Bool)
#
Instance Method Detail
def copy_with(fields _fields = @fields, table _table = @table, foreign_fields _foreign_fields = @foreign_fields, on_delete _on_delete = @on_delete, primary _primary = @primary)
#