add a has_columns method
Justin Hunter [Tue, 21 Jun 2011 18:26:35 +0000 (11:26 -0700)]
lib/SQL/Translator/Object/Constraint.pm

index 91dbff0..81da9e7 100644 (file)
@@ -28,6 +28,7 @@ class SQL::Translator::Object::Constraint extends SQL::Translator::Object {
             get_column    => 'FETCH',
             add_column    => 'STORE',
             remove_column => 'DELETE',
+            has_columns   => 'Length',
             clear_columns => 'CLEAR',
         },
         coerce => 1,