diff Lib/IMPL/SQL/Schema/Traits.pm @ 169:fd92830036c3

corrected IMPL::SQL::Schema::Diff
author sourcer
date Tue, 17 May 2011 00:04:28 +0400
parents 6148f89bb7bf
children d1676be8afcc
line wrap: on
line diff
--- a/Lib/IMPL/SQL/Schema/Traits.pm	Mon May 16 04:30:38 2011 +0400
+++ b/Lib/IMPL/SQL/Schema/Traits.pm	Tue May 17 00:04:28 2011 +0400
@@ -371,6 +371,9 @@
 	
 	die new IMPL::InvalidArgumentException( tableName => "A table name is required" ) unless $table;
 	die new IMPL::InvalidArgumentException( constraintName => "A constraint name is required" ) unless $constraint;
+	
+	$this->tableName($table);
+	$this->constraintName($constraint);
 }
 
 sub apply {