X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?p=catagits%2FCatalyst-Manual.git;a=blobdiff_plain;f=lib%2FCatalyst%2FManual%2FTutorial%2FMoreCatalystBasics.pod;h=afb0a7bae36f8d23687969461afbd818ea09a3e1;hp=4c9fda5cedbd5f711b1b8bfd88f9bdd7ba15d742;hb=bb2dbfb8c0a5d05cfb875249adfc0ae6b8a50852;hpb=15e1d0b201341bf72fbf027d1450bbddac49e80f diff --git a/lib/Catalyst/Manual/Tutorial/MoreCatalystBasics.pod b/lib/Catalyst/Manual/Tutorial/MoreCatalystBasics.pod index 4c9fda5..afb0a7b 100644 --- a/lib/Catalyst/Manual/Tutorial/MoreCatalystBasics.pod +++ b/lib/Catalyst/Manual/Tutorial/MoreCatalystBasics.pod @@ -594,13 +594,13 @@ in the past, Matt Trout's L (abbreviated as "DBIC") has rapidly emerged as the Perl-based ORM technology of choice. Most new Catalyst applications rely on DBIC, as will this tutorial. -=head2 Create a DBIC Model +=head2 Create a dynamic DBIC Model -Use the C model helper option to build a model that +Use the C model helper option to build a model that dynamically reads your database structure every time the application starts: - $ script/myapp_create.pl model MyAppDB DBIC::Schema MyApp::Schema::MyAppDB create=static dbi:SQLite:myapp.db + $ script/myapp_create.pl model MyAppDB DBIC::Schema MyApp::Schema::MyAppDB create=dynamic dbi:SQLite:myapp.db exists "/home/me/MyApp/script/../lib/MyApp/Model" exists "/home/me/MyApp/script/../t" created "/home/me/MyApp/script/../lib/MyApp/Schema"