Suggestion from Stefan Kangas about "un-indenting" code in Emacs (thanks, Stefan)
[catagits/Catalyst-Manual.git] / lib / Catalyst / Manual / Tutorial / MoreCatalystBasics.pod
index f3ff00e..41f58bd 100644 (file)
@@ -686,8 +686,9 @@ And re-run the version print command to verify that you are now at
 
 =head2 Create Static DBIx::Class Schema Files
 
-Use the model helper with the C<create=static> option to read the 
-database with 
+Before you continue, make sure your C<myapp.db> database file is in 
+the application's topmost directory. Now use the model helper with 
+the C<create=static> option to read the database with 
 L<DBIx::Class::Schema::Loader|DBIx::Class::Schema::Loader> and 
 automatically build the required files for us:
 
@@ -800,38 +801,6 @@ from the old files in C<lib/MyApp/Schema> to the new files in
 C<lib/MyApp/Schema/Result> (we will be starting to add some 
 "customized relationship information in the section below).
 
-The C<script/myapp_create.pl> command breaks down like this:
-
-=over 4
-
-=item *
-
-C<DB> is the name of the model class to be created by the helper in 
-C<lib/MyApp/Model>.
-
-=item *
-
-C<DBIC::Schema> is the type of the model to create.
-
-=item *
-
-C<MyApp::Schema> is the name of the DBIC schema file written to
-C<lib/MyApp/Schema.pm>.
-
-=item *
-
-Because we specified C<create=dynamic> to the helper, it use 
-L<DBIx::Class::Schema::Loader|DBIx::Class::Schema::Loader> to 
-dynamically load the schema information from the database every time 
-the application starts.
-
-=item *
-
-And finally, C<dbi:SQLite:myapp.db> is the standard DBI connect string 
-for use with SQLite.
-
-=back
-
 
 =head1 ENABLE THE MODEL IN THE CONTROLLER