is_nullable: 1
size: 45
=head2 lang
data_type: 'varchar'
size: 25
useful for reporting purposes
=cut
},
"primary_contact_method",
{ data_type => "varchar", is_nullable => 1, size => 45 },
"lang",
{ data_type => "varchar", is_nullable => 1, size => 25 },
);
=head1 PRIMARY KEY
-
use Modern::Perl;
return {
bug_number => "34438",
description => "Add lang to to the borrower_modifications table",
up => sub {
my ($args) = @_;
my $dbh = $args->{dbh};
if( !column_exists( 'borrower_modifications', 'lang' ) ) {
$dbh->do( "ALTER TABLE `borrower_modifications` ADD COLUMN `lang` VARCHAR(25) DEFAULT NULL AFTER `primary_contact_method`" );
}