SYNOPSIS

my $add_field = Monorail::Change::AddField->new(
    table => $fld->table->name,
    name  => $fld->name,
    type  => $fld->data_type,
    is_nullable => $fld->is_nullable,
    is_primary_key => $fld->is_primary_key,
    is_unique      => $fld->is_uniq,
    default_value  => $fld->default_value,
);

print $add_field->as_perl;

$add_field->as_sql;

$add_field->transform_dbix($dbix)