[Catalyst] recommendation

Matt S Trout dbix-class at trout.me.uk
Sat Nov 15 19:39:13 GMT 2008

On Mon, Nov 10, 2008 at 08:46:21PM +0200, Octavian Rasnita wrote:
> However, if I need to use DBIx::Class::DigestColumns, I don't know how to 
> add the following statement in a BEGIN block after it was already created 
> by the Catalyst helper without the "digest_check_method" key:
>      __PACKAGE__->add_columns(
>        'password' => {
>          data_type => 'char',
>          size      => 32,
>          digest_check_method => 'check_password',
>      }

You can call add_columns again with the extra info.

DBIx::Class doesn't mind.

      Matt S Trout       Need help with your Catalyst or DBIx::Class project?
   Technical Director                    http://www.shadowcat.co.uk/catalyst/
 Shadowcat Systems Ltd.  Want a managed development or deployment platform?
http://chainsawblues.vox.com/            http://www.shadowcat.co.uk/servers/

More information about the Catalyst mailing list