common value for this would be C<< { add_drop_table => 1, } >> to have the SQL
produced include a DROP TABLE statement for each table created.
+C<source_names> can also be added to C<$sqlt_args> containing an array
+reference of L<source> names of tables to be deployed. Per default,
+all tables are deployed.
+
=cut
sub deploy {
# print Dumper($dbixschema->registered_classes);
- #foreach my $tableclass ($dbixschema->registered_classes)
-
my %seen_tables;
- foreach my $moniker ($dbixschema->sources)
+ my @sources = exists $args->{'source_names'} ? @{ $args->{'source_names'} } : $dbixschema->sources;
+ foreach my $moniker (@sources)
{
#eval "use $tableclass";
#print("Can't load $tableclass"), next if($@);