From: Justin Hunter Date: Tue, 21 Jun 2011 18:26:35 +0000 (-0700) Subject: add a has_columns method X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=8e1b1e1d2c93e670f12e583d4f863cc70a20a29a;p=dbsrgits%2FSQL-Translator-2.0-ish.git add a has_columns method --- diff --git a/lib/SQL/Translator/Object/Constraint.pm b/lib/SQL/Translator/Object/Constraint.pm index 91dbff0..81da9e7 100644 --- a/lib/SQL/Translator/Object/Constraint.pm +++ b/lib/SQL/Translator/Object/Constraint.pm @@ -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,