Example doesn't work without 'year' column
[dbsrgits/DBIx-Class.git] / lib / DBIx / Class / Manual / Example.pod
index 59b114e..83e96fe 100644 (file)
@@ -49,7 +49,8 @@ Save the following into a example.sql in the directory db
   CREATE TABLE cd (
     cdid INTEGER PRIMARY KEY,
     artist INTEGER NOT NULL REFERENCES artist(artistid),
-    title TEXT NOT NULL
+    title TEXT NOT NULL,
+    year TEXT
   );
 
   CREATE TABLE track (
@@ -364,12 +365,15 @@ C<MyApp::Schema::ResultSet> namespace (although we created the directory
 in the directions above we did not add, or need to add, any resultset
 classes).
 
-=head1 TODO
+=head1 FURTHER QUESTIONS?
+
+Check the list of L<additional DBIC resources|DBIx::Class/GETTING HELP/SUPPORT>.
 
-=head1 AUTHOR
+=head1 COPYRIGHT AND LICENSE
 
-  sc_ from irc.perl.org#dbix-class
-  Kieren Diment <kd@totaldatasolution.com>
-  Nigel Metheringham <nigelm@cpan.org>
+This module is free software L<copyright|DBIx::Class/COPYRIGHT AND LICENSE>
+by the L<DBIx::Class (DBIC) authors|DBIx::Class/AUTHORS>. You can
+redistribute it and/or modify it under the same terms as the
+L<DBIx::Class library|DBIx::Class/COPYRIGHT AND LICENSE>.
 
 =cut