[Catalyst] command in Catalyst tute part 4 for generatingschema files (static creation) using DBIx::Class::TimeStamp needstobeupdated

Octavian Râsnita orasnita at gmail.com
Sat Mar 21 22:53:38 GMT 2009


From: "Matthew Topper" <topperm9 at gmail.com>
> While we're on this subject, can someone tell me if I'm doing this 
> correctly?
>
> Evereytime I change my database structure, I run the following command:
>
> script/myapp_create.pl model DB DBIC::Schema MyApp::DB create=static 
> dbi:mysql:<db>:localhost "<user>" '<password>'
>
> Substituting 'myapp' with my application name, of course.  This seems to 
> work correctly, but I'm curious if this is the 'right' way to do this.
>
> Thanks!
>

Yes, it is correct.

Octavian




More information about the Catalyst mailing list