Hi All,

I am trying to learn Catalyst framework, by following the introduction
modules available on CPAN. I am doing this on strawberry perl, on my PC.
Also, I am using SQLite and have created myapp.db.

While trying to create a model, I get the below error:

\strawberry\perl\bin\MyApp\script>myapp_create.pl model DB DBIC::Schema
MyApp::Schema create=static dbi:SQLite:myapp.db on_connect_do="PRAGMA
foreign_keys = ON"
 exists "D:\strawberry\perl\bin\MyApp\lib\MyApp\Model"
 exists "D:\strawberry\perl\bin\MyApp\t"
Dumping manual schema for MyApp::Schema to directory
D:\strawberry\perl\bin\MyApp\lib ...
Schema dump completed.
WARNING: No tables found, did you forget to specify db_schema?
 exists "D:\strawberry\perl\bin\MyApp\lib\MyApp\Model\DB.pm"
-------------------------------------------------------------------------------------------------------------------------------

The instruction says "make sure your myapp.db database file is in the
application's topmost directory."

I tried placing myapp.db in all possible directories but it is not working.
I understand this warning is coming from
Catalyst::Helper::Model::DBIC::Schema.pm,
but I am not able to troubleshoot beyond that.

Can someone tell me where am I suppose to keep the myapp.db file?

Regards
Guru

Reply via email to