[Catalyst] DBIC::Schema issue - out of ideas [ more info ]
kakimoto at tpg.com.au
kakimoto at tpg.com.au
Wed Feb 18 21:40:38 GMT 2009
Reply is as per below....
>
> I'm going to do something horrid and point you at the documentation:
>
>
http://search.cpan.org/~ribasushi/DBIx-Class-0.08012/lib/DBIx/Class/Relationship.pm#has_many
> and
>
http://search.cpan.org/~ribasushi/DBIx-Class-0.08012/lib/DBIx/Class/Schema.pm
>
> You created you Schema with DBIx::Class::Schema. If you had used
> myApp_create model myApp::Model, your model would reside under the
> model directory. Instead you a a Schema.pm file the points resolves
> everything to the files with the the model name you handed to it.
>
K.akimoto:
hi,
1) Please read the latest update on this thread which I posted. I found
the solution
2) Please read the command which I used properly.
a) myApp::Schema is used hence, the ORM files will be created in
'lib/myApp/Schema'. I have looked at the output and it's confirmed.
b) the script/myApp_create.pl command is:
" myApp_create.pl model myAppDB DBIC::Schema myApp::Schema create=static
dbi:Pg:dbname=myApp myAdminUser mypassword"
More information about the Catalyst
mailing list