remove unessessary extraneous code
Caleb Cushing [Mon, 22 Feb 2010 08:12:55 +0000 (08:12 +0000)]
you don't have to reproduce all attributes for a column just to add more,
removing code that would otherwise be duplicated.

lib/Catalyst/Manual/Tutorial/05_Authentication.pod

index 158372e..5c727c2 100644 (file)
@@ -650,8 +650,6 @@ the closing "1;":
     # with hex encoding; Generate the 'check_password" method
     __PACKAGE__->add_columns(
         'password' => {
-            data_type           => "TEXT",
-            size                => undef,
             encode_column       => 1,
             encode_class        => 'Digest',
             encode_args         => {salt_length => 10},