From: Peter Rabbitson Date: Fri, 27 Feb 2009 00:32:29 +0000 (+0000) Subject: Allow sqlt_deploy_hook on views X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a99b214b906c4077b17a1c104581d20d2cba6a0b;p=dbsrgits%2FDBIx-Class-Historic.git Allow sqlt_deploy_hook on views --- diff --git a/lib/SQL/Translator/Parser/DBIx/Class.pm b/lib/SQL/Translator/Parser/DBIx/Class.pm index bff7ddc..886c61c 100644 --- a/lib/SQL/Translator/Parser/DBIx/Class.pm +++ b/lib/SQL/Translator/Parser/DBIx/Class.pm @@ -246,6 +246,8 @@ sub parse { if ($source->result_class->can('sqlt_deploy_hook')) { $source->result_class->sqlt_deploy_hook($view); } + + $source->_invoke_sqlt_deploy_hook($view); } if ($dbicschema->can('sqlt_deploy_hook')) {