jagdish eashwar wrote:
Putting all the tables in one database is a solution. I am afraid,
however, that when I create a model using script/MyApp_create.pl for a
specific Catalyst application, I'll get all the tables in the
database into my DBIC schema. Is there a way of making
MyApp_create.pl pick up only a subset of the tables?
I don't think you can do this with the Catalyst helper, but you can
write your own script to use DBIx::Class::Schema::Loader, and use the
"moniker_map" option of make_schema_at. Then it will only create files
for the tables that you list.
Gerda
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/