[Dbix-class] dbicadmin deploy not making sense

Leandro Hermida softdev at leandrohermida.com
Sun Aug 1 19:50:04 GMT 2010


Hi there,

I am trying to use dbicadmin to deploy a schema with the following command:

dbicadmin -Ilib --deploy --config=myapp.conf
--config-stanza=MyApp::Model::Schema

Where in the lib directory is are DBIC class files. It keeps asking me
that it needs the --schema-class option but it should find it in my
config as shown below:

<Model::Schema>
    schema_class  MyApp::Schema
    <connect_info>
        dsn         DBI:mysql:database=myappdb;host=localhost;port=3306
        user        myapp
        password    myapp
        AutoCommit  1
    </connect_info>
</Model>

Am I doing the right thing?

best,
leandro



More information about the DBIx-Class mailing list