Subject: | Documentation |
Date: | Wed, 19 Nov 2014 10:07:29 -0600 |
To: | <bug-DBIx-Class-RandomColumns [...] rt.cpan.org> |
From: | Matt Matijevich <mmatijevich [...] coretechs.com> |
Distribution name and version: DBIx-Class-RandomColumns-0.005001
Perl version: any
Operating System vendor and version: any
Should the documents use "data_type" instead of "datatype" the doc?
__PACKAGE__->add_columns(
id => {
datatype => 'integer',
extra => {unsigned => 1},
is_random => {max => 2**32-1, min => 0}
},
foo => {
datatype => 'int',
size => 10,
},
bar => {
datatype => 'varchar',
is_random => {size => 10},
size => 32,
},
baz => {
datatype => 'varchar',
size => 255,
},
);
should be:
__PACKAGE__->add_columns(
id => {
data_type => 'integer',
extra => {unsigned => 1},
is_random => {max => 2**32-1, min => 0}
},
foo => {
data_type => 'int',
size => 10,
},
bar => {
data_type => 'varchar',
is_random => {size => 10},
size => 32,
},
baz => {
data_type => 'varchar',
size => 255,
},
);