[Dbix-class] Proposal for hook into deploy()

Pedro Melo melo at simplicidade.org
Sun Feb 24 13:41:42 GMT 2008


Hi,

On Feb 23, 2008, at 10:58 PM, Jon Schutz wrote:
> On Sat, 2008-02-23 at 11:47 +0000, Ash Berlin wrote:
>
>>> Any comments or suggestions of a better way?
>>>
>>
>> Yes, how about this:
>>
>> http://search.cpan.org/~jrobinson/DBIx-Class-0.08009/lib/DBIx/ 
>> Class/Schema.pm#sqlt_deploy_hook($sqlt_schema)
>>
>
> Thanks!  Easy when you know where to look.

Also, the same hook is available at the ResultSource level if you  
want it.

Best regards,
-- 
Pedro Melo
Blog: http://www.simplicidade.org/notes/
XMPP ID: melo at simplicidade.org
Use XMPP!





More information about the DBIx-Class mailing list