From: Andrew Moore Date: Fri, 19 Dec 2008 19:17:08 +0000 (+0000) Subject: Documentation change: do not overwrite unchanged schema modules X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=refs%2Fheads%2Fno-rewrite;p=dbsrgits%2FDBIx-Class-Schema-Loader.git Documentation change: do not overwrite unchanged schema modules This patch only touches documentation. It adds a mention that unchanged schema modules will not be overwritten. An entry is also made in the Changelog. --- diff --git a/Changes b/Changes index a3320c3..941e435 100644 --- a/Changes +++ b/Changes @@ -2,6 +2,8 @@ Revision history for Perl extension DBIx::Class::Schema::Loader 0.04006 Not Yet Released - Fix Oracle constraint detection for non-owned schemas (RT #35732) + - dump_directory does not overwrite schema modules that have not + changed. (Andrew Moore) 0.04005 Sat Apr 05, 2008 - Fix DB2 support diff --git a/lib/DBIx/Class/Schema/Loader/Base.pm b/lib/DBIx/Class/Schema/Loader/Base.pm index 6e3ca7b..7e6e358 100644 --- a/lib/DBIx/Class/Schema/Loader/Base.pm +++ b/lib/DBIx/Class/Schema/Loader/Base.pm @@ -162,7 +162,8 @@ loader to a manually-defined schema when you decide it's time to do so. The value of this option is a perl libdir pathname. Within that directory this module will create a baseline manual L module set, based on what it creates at runtime -in memory. +in memory. Existing files for schemas that have not changed will not +be overwritten. The created schema class will have the same classname as the one on which you are setting this option (and the ResultSource classes will be