my $add_const = Monorail::Change::DropConstraint->new( table => 'train', name => 'uniq_train_name_idx', type => 'unique', field_names => [qw/name/], ); print $add_const->as_perl; $add_const->as_sql; $add_const->transform_dbix($dbix)
To install Monorail, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Monorail
CPAN shell
perl -MCPAN -e shell install Monorail
For more information on module installation, please visit the detailed CPAN module installation guide.