From: Alexander Hartmaier Date: Thu, 17 Dec 2009 18:54:55 +0000 (+0000) Subject: Cookbook POD fix for add_drop_table instead of add_drop_tables X-Git-Tag: v0.08116~91 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=db4c23bcb9363ecaf52f1195e0dab81dea6f1ff7;hp=48012f358b2a3af7c193f170ce39ea59fcdc7173;p=dbsrgits%2FDBIx-Class.git Cookbook POD fix for add_drop_table instead of add_drop_tables --- diff --git a/Changes b/Changes index 2e25b36..9a3ba9d 100644 --- a/Changes +++ b/Changes @@ -2,6 +2,7 @@ Revision history for DBIx::Class - might_have/has_one now warn if applied calling class's column has is_nullable set to true. + - Cookbook POD fix for add_drop_table instead of add_drop_tables 0.08115 2009-12-10 09:02:00 (CST) - Real limit/offset support for MSSQL server (via Row_Number) diff --git a/lib/DBIx/Class/Manual/Cookbook.pod b/lib/DBIx/Class/Manual/Cookbook.pod index ddac04a..089710a 100644 --- a/lib/DBIx/Class/Manual/Cookbook.pod +++ b/lib/DBIx/Class/Manual/Cookbook.pod @@ -1381,7 +1381,7 @@ MySQL, SQLite and PostgreSQL, using the $VERSION from your Schema.pm. To create a new database using the schema: my $schema = My::Schema->connect($dsn); - $schema->deploy({ add_drop_tables => 1}); + $schema->deploy({ add_drop_table => 1}); To import created .sql files using the mysql client: