From: Jay Hannah Date: Thu, 7 Jan 2010 00:44:06 +0000 (+0000) Subject: now mentions skip_load_external feature in comments X-Git-Tag: 0.04999_14~13 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=e770e9cef37a2ff6fc754a33a631421f1b26dfd8;p=dbsrgits%2FDBIx-Class-Schema-Loader.git now mentions skip_load_external feature in comments --- diff --git a/Changes b/Changes index 1b3ed41..b4722d9 100644 --- a/Changes +++ b/Changes @@ -1,6 +1,7 @@ Revision history for Perl extension DBIx::Class::Schema::Loader - fix NUMERIC/DECIMAL size column_info for postgres + - now mentions skip_load_external feature in comments 0.04999_13 2010-01-03 12:32:25 - exclude 'size' column_info for postgres when unnecessary, and diff --git a/lib/DBIx/Class/Schema/Loader/Base.pm b/lib/DBIx/Class/Schema/Loader/Base.pm index 8c82515..c446ac8 100644 --- a/lib/DBIx/Class/Schema/Loader/Base.pm +++ b/lib/DBIx/Class/Schema/Loader/Base.pm @@ -581,7 +581,8 @@ sub _load_external { .qq|# for you to hand-edit. If you do not either delete\n| .qq|# this section or remove that file from \@INC, this section\n| .qq|# will be repeated redundantly when you re-create this\n| - .qq|# file again via Loader!\n| + .qq|# file again via Loader! See skip_load_external to disable\n| + .qq|# this feature.\n| ); chomp $code; $self->_ext_stmt($class, $code); @@ -598,7 +599,7 @@ sub _load_external { # These lines were loaded from '$old_real_inc_path', # based on the Result class name that would have been created by an 0.04006 # version of the Loader. For a static schema, this happens only once during -# upgrade. +# upgrade. See skip_load_external to disable this feature. EOF my $code = do {