From: Ivan Kohler Date: Mon, 4 Nov 2013 19:28:16 +0000 (-0800) Subject: doc X-Git-Url: http://git.freeside.biz/gitweb/?p=DBIx-DBSchema.git;a=commitdiff_plain;h=86ad59a88bcd10fcc4da897d9644e7ee6a69e3e4 doc --- diff --git a/DBSchema/ForeignKey.pm b/DBSchema/ForeignKey.pm index 282f8a3..c47286c 100644 --- a/DBSchema/ForeignKey.pm +++ b/DBSchema/ForeignKey.pm @@ -20,7 +20,9 @@ DBIx::DBSchema::ForeignKey - Foreign key objects ); $foreign_key = new DBIx::DBSchema::ForeignKey ( - { 'columns' => [ 'column_name', 'column2' ], + { + 'constraint' => 'constraint_name', + 'columns' => [ 'column_name', 'column2' ], 'table' => 'foreign_table', 'references' => [ 'foreign_column', 'foreign_column2' ], 'match' => 'MATCH FULL', # or MATCH SIMPLE