Revision history for Perl extension DBIx::Class::Schema::Loader
+ - allow the constraint and exclude options to be used simultaneously
+ (bphillips)
- fix Oracle common tests fail with multi_schema due to not resetting
the preserve_case option after the preserve_case tests (RT#70829)
- handle <type> DEFAULT NULL for Pg
my $constraint = $opts->{constraint};
my $exclude = $opts->{exclude};
- @tables = grep { /$constraint/ } @$tables if defined $constraint;
- @tables = grep { ! /$exclude/ } @$tables if defined $exclude;
+ @tables = grep { /$constraint/ } @tables if defined $constraint;
+ @tables = grep { ! /$exclude/ } @tables if defined $exclude;
TABLE: for my $table (@tables) {
try {